Skip to main content
PATCH
Update a compute instance

Request Reference

Both fields are optional. Send only the ones you want to change; any field you omit is left unchanged.

Response Error Codes

If the request fails, the code field in the error response will contain one of the following.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Compute ID

Body

application/json
hostName
string

New host name for the compute instance.

Example:

"my-server-02"

tags
string[]

Replacement set of tags for the compute instance. The provided list replaces the existing tags entirely.

Example:

Response

OK

message
string
Example:

"Operation successful"

requestId
string
Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

success
boolean
Example:

true

timestamp
string
Example:

"2024-01-15T10:00:00Z"

data
object