15.7.13. 强制删除虚拟机操作
API 用户强制使用
force 操作删除有问题的虚拟机。此操作需要 DELETE 方法。请求正文包含将 force 参数设置为 true 的操作 表示。请求还需要额外的 Content-type: application/xml 标头来处理正文中的 XML 表示。
例 15.59. 在虚拟机上强制删除操作
DELETE /ovirt-engine/api/vms/5114bb3e-a4e6-44b2-b783-b3eea7d84720 HTTP/1.1
Accept: application/xml
Content-type: application/xml
<action>
<force>true</force>
</action>