Dedizierte Server

Cloud

Cloud-Konsole

Power

Send power command

POST/v1/baremetal/{id}/power

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

Autorisierung

  • Authorizationstringheadererforderlich

    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.

Erforderliche Berechtigung: organization.baremetal.power

Pfadparameter

  • idstring<uuid>erforderlich

Body

application/json
  • commandenum<string>erforderlich

    Zulässige Werte:ONFORCE_OFFGRACEFUL_SHUTDOWNFORCE_RESTARTGRACEFUL_RESTART

Antwort

204

No Content

Kein Response-Body.