Power

Send power command

POST/v1/baremetal/{id}/power

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

Authorizations

  • Authorizationstringheaderrequired

    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.

Required permission: organization.baremetal.power

Path parameters

  • idstring<uuid>required

Body

application/json
  • commandenum<string>required

    Allowed values:ONFORCE_OFFGRACEFUL_SHUTDOWNFORCE_RESTARTGRACEFUL_RESTART

Response

204

No Content

No response body.