Policy Delete
policy_deleteDelete one or more allowlisting policies after previewing with dry-run; set confirm=true and dry_run=false to execute, then deploy policies.
Instructions
Delete one or more Allowlisting policies in a single organization (PUT Policy/PolicyUpdateForDeleteByIds). Each policy is read first to fill the required name / organizationId / osType. Requires confirm=true with dry_run=false. Run policies_deploy afterwards. dry_run defaults to TRUE. Writes target the configured default org unless organization_id is given explicitly.
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": {
"policy_ids": "<policy_ids>"
},
"name": "policy_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required (true) in addition to dry_run=false for destructive operations. Ignored during a dry run. | |
| dry_run | No | Default true: return the exact request(s) that would be sent and the target org, and send nothing. Pass false to execute. | |
| policy_ids | Yes | ||
| organization_id | No | Target organization GUID for this write. Omit to target the server's configured default org (THREATLOCKER_ORG_ID). Any other org MUST be named explicitly here; write tools have no other org override. |