v1

latestOpenAPI 3.1.02026-07-26102158206.8 KB
CVMs

Commit CVM update (token-based, no auth required)

Completes a two-phase CVM update using a one-time commit token. The token was generated during a prepare-only PATCH request. No workspace authentication is required — the commit token is the credential.

post/api/v1/cvms/{cvm_id}/commit-update

Path parameters

cvm_idstring required

Query parameters

tokenstring nullable

Commit token (alternative to body.token)

Commit token (alternative to body.token)

Request body

tokenstring

Commit token (can also be passed as ?token= query param)

compose_hashstring

Compose hash from Phase 1. If omitted, auto-read from commit token.

transaction_hashstring

Transaction hash proving on-chain registration. Leave empty or use 'already-registered' if the hash was already registered on-chain.

Response

Successful Response

{"stackTrail":"paths:/api/v1/cvms/{cvm_id}/commit-update:post:responses:202:content:application/json:schema","oasType":"schema","type":"unknown"}