Skip to main content
POST
Set or rotate the app launch token

Path Parameters

app_id
string
required

Hex app identifier

Body

application/json
launch_token
string | null

Token to set (at least 32 bytes). Omit to have Phala Cloud generate one.

Response

New launch token and hash

launch_token
string
required

The app's new launch token. Returned only here, once.

launch_token_hash
string
required

Value for compose_file.requirements.launch_token_hash of every CVM of the app