<p dir="ltr">Hi David,<br>
You need to send a POST command to <a href="https://10.64.0.222/api/vms/7c4072ae-8da1-49dc-ad1e-b869d47eb215/shutdown">https://10.64.0.222/api/vms/7c4072ae-8da1-49dc-ad1e-b869d47eb215/shutdown</a> with the following post body:</p>
<p dir="ltr">&lt;action&gt;<br>
  &lt;async&gt;true&lt;/async&gt;<br>
&lt;/action&gt;<br>
</p>
<div class="gmail_quote">On Oct 24, 2015 16:50, &quot;David David&quot; &lt;<a href="mailto:dd432690@gmail.com">dd432690@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi.<br><br></div>ovirt-engine 3.5.1.<br><br></div>Can&#39;t <span lang="en"><span>shutdown a VM</span><span>.</span> Getting the<span> error</span></span> message:<br><h1>HTTP Status 405 - </h1><hr size="1" noshade><p><b>type</b> Status report</p><p><b>message</b> </p><p><b>description</b> <u>The specified HTTP method is not allowed for the requested resource ().</u></p><hr size="1" noshade><h3>JBoss Web/7.0.13.Final</h3><br> <div><div><div><div><span lang="en"><span>I do</span> <span>like this:</span></span><br><br><a href="https://10.64.0.222/api/vms/7c4072ae-8da1-49dc-ad1e-b869d47eb215/shutdown" target="_blank">https://10.64.0.222/api/vms/7c4072ae-8da1-49dc-ad1e-b869d47eb215/shutdown</a><br><br></div><div>also <span lang="en"><span>when exporting</span><span> VM or starting, etc,</span> <span>the above</span> <span>error</span> <span>appears</span><span>.</span></span></div></div></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div>