Machine
Machine power control
Execute 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.
patch/v2/org/{org}/nico/machine/{machineId}/power
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"
}