Galon Cloud
Galon API v1

/compute/instances/{instance_id}/reboot

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

POST /compute/instances/{instance_id}/reboot

Reboot a machine

Reboot a running virtual machine. Use when the machine is running but stuck. Before: get_compute_instance (state running, needs compute read access). Returns the machine in state rebooting. Scope: compute:power.

API key (Bearer), on the public API endpoint.

Parameters

NameInTypeDescription
instance_idpathstring · requiredMachine id (vm_...).

Responses

StatusDescriptionBody
2XXSuccess: the JSON body the route returns (see the description for its fields).object
401Key missing or invalidError
4XXRefused: act on detail.code, then follow detail.next_action (404 not_found while the service is not open to the account).Error

Examples

curl

curl -X POST "$GALON_API_BASE/compute/instances/<instance_id>/reboot" \
  -H "Authorization: Bearer $GALON_API_KEY"