Machine power control
Changed onExecute power control actions for a specific Machine. When an Instance is attached to the Machine, acknowledgeAttachedInstance must be true.
Org must have an Infrastructure Provider entity and own the Site that the Machine belongs to. 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/machine/{machineId}/power
- AuthHTTP bearer
Request body
Example request
{
"action": "ForceRestart",
"acknowledgeAttachedInstance": true
}Response
Machine power control request was accepted. The message is empty unless Core returns a power-manager warning.
Example response
{
"message": "Deletion request was accepted"
}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
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
added the optional property
to the response with the status
- info