v1

latestOpenAPI 3.1.02026-07-26102158206.8 KB
CVMs

Refresh CVM instance ID

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

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

Path parameters

cvm_idstring required

Request body

overwriteboolean

Overwrite existing instance_id when different

dry_runboolean

Preview changes without persisting

Response

Successful Response

cvm_idinteger required
identifierstring required
status'updated' | 'unchanged' | 'skipped' | 'conflict' | 'error' required
old_instance_idstring nullable
new_instance_idstring nullable
source'teepod_state' | 'teepod_info' | 'gateway' | 'none'
verified_with_gatewayboolean
reasonstring nullable