Skip to main content
POST
Redeploy app from a specific revision

Path Parameters

app_id
string
required

Hex app identifier

revision_id
string
required

External AppRevisionId (prefix 'rev_'). Fully prefixed string required; bare payloads and raw integers are rejected.

Example:

"rev_0123abcd"

Query Parameters

transaction_hash
string | null

Optional transaction hash proving on-chain compose hash registration

Body

application/json

Optional target CVM selection. If the app has multiple CVMs, you must specify vm_uuids.

vm_uuids
string[] | null
encrypted_env
string | null

Optional encrypted env blob. When omitted, rollback keeps each CVM's current encrypted env. Supply a blob only to deliberately roll env back.

allow_env_mismatch
boolean
default:false

Continue even when this revision's allowed_envs differ from the last env write. Ignored when encrypted_env is supplied.

Response

Activation initiated