consents_revoke
Stop a consent record counting (the person withdrew consent, or it was recorded by mistake). The record is kept for the audit trail. An unsubscribe or opt-out reply revokes consent automatically. Idempotent.
Method: POST /api/v1/workspaces/{workspace_sqid}/consents/{sqid}/revoke/
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": {
"sqid": "<sqid>"
},
"name": "consents_revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sqid | Yes | ||
| reason | No |