Power control Trays
Changed onPower control Trays with optional filters. If no filter is specified, targets all trays in the Site.
Supported power states: On, Off, Cycle, ForceOff, ForceCycle, ACPowerCycle. Exact lowercase forms remain accepted for compatibility. ACPowerCycle removes and restores AC power and is unsupported on Viking systems.
Filter constraints:
- rackId and rackName are mutually exclusive
- rackId/rackName cannot be combined with ids (rack-level vs component-level targeting)
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/tray/power
- AuthHTTP bearer
Request body
Response
OK
Example response
{
"taskIds": [
"550e8400-e29b-41d4-a716-446655440000"
]
}Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info