Remove category opt-out
remove_category_opt_outRemove a category opt-out by id or email address so the address receives that category again.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "remove_category_opt_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Category opt-out id | |
| No | Email address (alternative to id) | ||
| tenant | No | Remove from this tenant's opt-outs instead of the account-wide ones. The tenant's external id (your id for that customer) or its Groundmail id | |
| category | No | Only this category; omit to remove every category for the address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the request completed | |
| deleted | No | How many opt-outs were removed |