CVMs

Refresh CVM instance ID

Changed on

Resolve and persist instance_id for a CVM. Default behavior only backfills missing values.

patch/api/v1/cvms/{cvm_id}/instance-id

Request

Path parameters

cvm_idstring required

Request body

overwriteboolean

Overwrite existing instance_id when different

dry_runboolean

Preview changes without persisting

Response

Successful Response

OR

Example response

{
  "cvm_id": "cvm_0123abcd"
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added to the response body anyOf list for the response status