Power

Send power command

POST/v1/baremetal/{id}/power

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

Autorisatie

  • Authorizationstringheaderverplicht

    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.

Vereiste toestemming: organization.baremetal.power

Padparameters

  • idstring<uuid>verplicht

Body

application/json
  • commandenum<string>verplicht

    Toegestane waarden:ONFORCE_OFFGRACEFUL_SHUTDOWNFORCE_RESTARTGRACEFUL_RESTART

Antwoord

204

No Content

Geen response-body.