Application Delete
application_deleteDelete a custom application from ThreatLocker, with dry-run preview and optional forced deletion when policies are attached. Confirm execution to remove the app, then redeploy policies as needed.
Instructions
Delete a custom application. Reads the app first, then POSTs Application/ApplicationUpdateForDelete (apps with no policies). If the app still has policies attached, pass force_with_policies=true to use ApplicationConfirmUpdateForDelete instead (deploy policies afterwards). Requires confirm=true with dry_run=false. 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": {
"application_id": "<application_id>"
},
"name": "application_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. | |
| application_id | Yes | Application GUID. | |
| 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. | |
| force_with_policies | No |