GET /api/hosts/host4.example1.com/power?timeout=30
200
{
"id": 4,
"state": "na",
"title": "N/A",
"statusText": "Power operations are not enabled on this host."
}
| 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:
|
|
timeout
optional |
Timeout to retrieve the power status of the host in seconds. Default is 3 seconds. Validations:
|