Reboot Instance
/api/instance/:instance_id/rebootPlain READY reboot uses the existing reboot RPC. Resource/metadata/TTL changes first save a hidden snapshot, then cold boot. Plain PENDING reboot chooses saved artifacts or the disk image for a metadata-only image snapshot. Singular and plural instance routes are aliases.
Request
Path Parameters
- instance_idstringrequired
application/json
Body
- object | null
- disk_sizeinteger | null
- memoryinteger | null
metadataobject | null
- Additional propertiesstring
- ttl_actionstring | null
Action to take when the instance expires. Defaults to 'stop'.
Allowed values:
"stop","pause" - ttl_secondsinteger | null
Time to live in seconds for the instance
- vcpusinteger | null
Responses
- 200
- 400
- 401
- 402
- 403
- 404
- 409
- 412
- 500
- 502
- 503
application/json
Schema
- object
- createdintegerrequired
- idstringrequired
metadataobject
User provided metadata for the instance
- Additional propertiesstring
networkingobjectrequired
http_servicesarray of object
Itemsobject
- auth_modestring
Allowed values:
"none","api_key"Default:
"none" - namestringrequired
- portintegerrequired
- urlstringrequired
- auth_modestring
- internal_ipstring | null
- objectstring
Value:
"instance"Default:
"instance" refsobjectrequired
- image_idstringrequired
- snapshot_idstringrequired
specobjectrequired
- disk_sizeintegerrequired
Size of the snapshot in megabytes
- memoryintegerrequired
Memory of the snaphshot in megabytes
- vcpusintegerrequired
VCPU Count of the snaphshot
- disk_sizeintegerrequired
- statusstring
Allowed values:
"pending","ready","paused","saving","error"Default:
"pending" ttlobjectrequired
Time to live settings for the instance. If not set, the instance will not expire.
- ttl_actionstring | null
Action to take when the instance expires
Allowed values:
"stop","pause" - ttl_expire_atinteger | null
Unix timestamp of when the instance will expire
- ttl_secondsinteger | nullrequired
Time to live in seconds for the instance
- ttl_actionstring | null
wake_onobjectrequired
Wake on settings for the instance. If not set, the instance will not wake on access.
- wake_on_httpboolean
Whether to wake the instance on HTTP access
Default:
false - wake_on_sshboolean
Whether to wake the instance on SSH access
Default:
false
- wake_on_httpboolean
application/json
Schema
- object
- detailstringrequired
- error_codestring
text/plain
Schema
- string
application/json
Schema
- object
- detailstringrequired
- error_codestring
application/json
Schema
- object
- detailstringrequired
- error_codestring
application/json
Schema
- object
- detailstringrequired
- error_codestring
application/json
Schema
- object
- detailstringrequired
- error_codestring
application/json
Schema
- object
- detailstringrequired
- error_codestring
application/json
Schema
- object
- detailstringrequired
- error_codestring
application/json
Schema
- object
- detailstringrequired
- error_codestring
Response Headers
Retry-After string
Present only when snapshot admission was refused before dispatch; other 503 failures may omit it.
application/json
Schema
- object
- detailstringrequired
- error_codestring