Power

Send power command

POST/v1/baremetal/{id}/power

Powers the service on, off, or restarts it, gracefully or by force.

Autorizaciones

  • Authorizationstringheaderobligatorio

    Organization API key (org_...), created in the cloud console at https://cloud.serverside.com and shown once, sent as Authorization: Bearer <key>. It authenticates as the organization.

Permiso necesario: organization.baremetal.power

Parámetros de ruta

  • idstring<uuid>obligatorio

Cuerpo

application/json
  • commandenum<string>obligatorio

    Valores permitidos:ONFORCE_OFFGRACEFUL_SHUTDOWNFORCE_RESTARTGRACEFUL_RESTART

Respuesta

204

No Content

Sin cuerpo de respuesta.