PUT /api/hosts/host1958.example1156.com/power { "power_action": "wrongmethod", "host": {} } 422 { "error": "Unknown power action: available methods are start, stop, poweroff, reboot, reset, soft, cycle, state, on, off, status, ready?" }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
power_action required |
power action, valid actions are (on/start), (off/stop), (soft/reboot), (cycle/reset), (state/status) Validations:
|