Reboot device outlet
POST
/api/v1/integrations/devices/{serial_number}/outlets/{number}/rebootOutletsPublishes an outlet reboot command for a specific outlet number.
Authentication
Bearer access token (Okta)Content-Type
application/jsonPath parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
serial_number | string | Yes | Device serial number. |
number | integer | Yes | Outlet number on the device. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
power_off_for | integer | Yes | Power-down duration in seconds. |
Responses
| HTTP | Description |
|---|---|
| 200 | Reboot accepted (`message`, `serial_number`, `outlet_number`, `power_off_for`). |
| 401 | Unauthorized — invalid or missing Bearer token. |
| 404 | Device or outlet not found. |
| 500 | Failed to publish reboot command. |
Success payload (200)
Example
Last updated on