cURL
curl --request POST \ --url https://cloud-api.phala.com/api/v1/apps/{app_id}/cvms/is-allowed
{ "is_onchain": true, "results": [ { "cvm_id": 123, "app_contract_address": "<string>", "compose_hash": "<string>", "device_id": "<string>", "compose_hash_allowed": true, "allow_any_device": true, "is_allowed": true, "device_id_allowed": true, "error": "<string>" } ], "total": 0, "allowed_count": 0, "denied_count": 0, "error_count": 0, "skipped_cvm_ids": [ 123 ] }
Documentation IndexFetch the complete documentation index at: https://docs.phala.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.phala.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Whether this app uses on-chain KMS
Show child attributes
Was this page helpful?