delete_policy
Move a licensing policy to Trash so its issued licenses stop working immediately; restore it within 30 days if needed.
Instructions
Move a policy to the Trash with the licenses issued from it: they stop working at once. It can be restored for 30 days with restore_from_trash. Confirm with the user first, saying how many licenses go with it.
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": "<policy>"
},
"name": "delete_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | policy id or name | |
| product | No | product id, code or name, when the policy name exists in several products |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| trashed | Yes |