12.6.3. Fence Action

An API user controls a host's power management device with the fence action. See Section 12.1, “Power Management” for details on configuring a fencing device for a host.
The capabilities lists available fence_type options. See Section 6.1.5, “Fence Types” for details on accessing this list.

Example 12.18. Action to fence a host

POST /api/hosts/2ab5e1da-b726-4274-bbf7-0a42b16a0fc3/fence
Accept: application/xml
Content-Type: application/xml

<action>
    <fence_type>start</fence_type>
</action>