post
/v1/instances/{instance_id}/rebootReboot instance
Reboot an instance (soft or hard)
Path Parameters
instance_id
string<uuid>requiredpath
Instance ID
Example: "550e8400-e29b-41d4-a716-446655440000"
Request Body
optionalContent-Type: application/json
type
stringoptionalReboot type
Enum: "SOFT", "HARD"
Default: "SOFT"
Responses
202
Request accepted, processing asynchronously
Content-Type: application/json
message
stringoptional401
Authentication required or token invalid
Content-Type: application/json
error
objectrequired404
Resource not found
Content-Type: application/json
error
objectrequired409
Instance is not in a rebootable state
Content-Type: application/json
error
objectrequired500
Internal server error
Content-Type: application/json
error
objectrequiredcurl -X POST "https://api.spo1.mycloud.com/v1/instances/550e8400-e29b-41d4-a716-446655440000/reboot" \-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \-H "Content-Type: application/json" \-d '{"type": "SOFT"}'