Apps
apps-guest-agent-access
Restrict guest agent access
Changed onRestricts the app's guest agent (port 8090) to Phala Cloud by setting enabled_guest_agent_access to false. Repeating the call changes nothing. Relaxing the restriction requires Phala Cloud support. Returns the app detail.
post/api/v1/apps/{app_id}/guest-agent-access/restrict
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
app_idstring required
Hex app identifier
Response
App details with enabled_guest_agent_access false
Example response
{
"id": "prj_0123abcd",
"current_cvm": {
"kms_id": "kms_0123abcd",
"kms_contract_id": "kc_0123abcd"
},
"cvms": [
{
"kms_id": "kms_0123abcd",
"kms_contract_id": "kc_0123abcd"
}
]
}Changes
- info
endpoint added
- info