delete_access_policy
Permanently deletes an access policy by UUID, removing its allow or deny rule and changing access permissions; inspect first as this cannot be undone. Returns acknowledgement or 404 if missing.
Instructions
Delete an access policy by UUID, removing its allow or deny rule and changing access permissions. This cannot be undone by this tool. Inspect get_access_policy first; returns Portkey's acknowledgement, or HTTP 404 when the policy is missing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "delete_access_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Access policy UUID from list_access_policies or create_access_policy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |