Compute
Update Instance
Updates an existing compute instance's configuration. This can include modifications to resources, metadata, or other mutable properties. Some changes may require instance restart to take effect.
put/compute/v2/thr4/workspaces/{workspaceUUID}/instances/{resourceId}
Path parameters
resourceIdstring required
Resource ID
workspaceUUIDstring required
UUID of the workspace
Request body
Example request
{
"apiVersion": "compute/v2",
"kind": "Instance",
"metadata": {
"resourceVersion": "519597875",
"uid": "00000000-0000-0000-0000-000000000000",
"workspace": "00000000-0000-0000-0000-000000000000"
},
"spec": {
"imageSource": {
"image": "ubuntu-22.04"
},
"type": "g1d60-1"
}
}Response
The instance configuration was successfully updated. The response contains the complete updated instance details reflecting the changes made.
Example response
{
"apiVersion": "compute/v2",
"kind": "Instance",
"metadata": {
"resourceVersion": "519597875",
"uid": "00000000-0000-0000-0000-000000000000",
"workspace": "00000000-0000-0000-0000-000000000000"
},
"spec": {
"imageSource": {
"image": "ubuntu-22.04"
},
"type": "g1d60-1"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.