Tray
Power control a Tray
Power control a Tray identified by Tray UUID.
Supported power states: on, off, cycle, forceoff, forcecycle.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
patch/v2/org/{org}/nico/tray/{id}/power
Request body
Example request
{
"siteId": "550e8400-e29b-41d4-a716-446655440000",
"state": "on"
}Response
OK
Example response
{
"taskIds": [
"550e8400-e29b-41d4-a716-446655440000"
]
}Changes
Changed in 3 of the 90 revisions of this API.3
- ○
added the non-success response with the status
504response-non-success-status-added
- ○
- ○
added the new optional request property
overrideReadinessChecknew-optional-request-property
- ○
- ○
added the new optional request property
ruleIdnew-optional-request-property
- ○