Apps
apps-guest-agent-access

Restrict guest agent access

Changed on

Restricts 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

Path parameters

app_idstring required

Hex app identifier

Response

App details with enabled_guest_agent_access false

OR

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