Compute

Restart a VM

Graceful reboot of a running VM. Returns the VM with its new status; 409 RESOURCE_BUSY if another operation is in progress. Idempotent: calling it on a VM already in the target state returns unchanged: true.

post/agent/compute/vms/{id}/restart

Request

  • Base URL: https://edge.network
  • URL: https://edge.network/agent/compute/vms/{id}/restart
  • Auth: HTTP bearer

Path parameters

idstring required

VM id.

Headers

X-Dry-Run'true' | 'false'

Set to "true" to preview the operation (validation, cost, plan) without making changes.

Idempotency-Keystring

Unique key for safe retries. Repeating a request with the same key returns the original response instead of re-executing.

Response

Success.

tell_userstring

Human-readable summary of what happened, for the agent to relay to its operator.

Changes

No recorded changes to this operation across all 1 revision of this API.