Power

Send power command

POST/v1/baremetal/{id}/power

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

Autorisations

  • Authorizationstringheaderobligatoire

    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.

Permission requise : organization.baremetal.power

Paramètres de chemin

  • idstring<uuid>obligatoire

Corps

application/json
  • commandenum<string>obligatoire

    Valeurs autorisées :ONFORCE_OFFGRACEFUL_SHUTDOWNFORCE_RESTARTGRACEFUL_RESTART

Réponse

204

No Content

Pas de corps de réponse.