POST /compute/instances/{instance_id}/start
Start a machine
Start a stopped virtual machine. Use when the machine is stopped and the user wants it running again; billing resumes. Before: get_compute_instance (state stopped, needs compute read access). Returns the machine in state starting. Scope: compute:power.
API key (Bearer), on the public API endpoint.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
instance_id | path | string · required | Machine id (vm_...). |
Responses
| Status | Description | Body |
|---|---|---|
2XX | Success: the JSON body the route returns (see the description for its fields). | object |
401 | Key missing or invalid | Error |
4XX | Refused: 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>/start" \
-H "Authorization: Bearer $GALON_API_KEY"