delete · mentions:write
Disable a category
Disable a category
WriteDestructiveIdempotent
REST
delete
/api/v1/categories/{id}curl "https://herculeradar.com/api/v1/categories/:id" \ --request DELETE \ --header "Authorization: Bearer hr_live_…"
MCP
Tool name delete_category. It takes the same input and returns the same { data, meta } envelope as REST, because both call the same function.
Disable a category. Existing mentions keep the enum; new ones will not be filed as it.
Parameters
| idrequired | string | Category enum |
Response
{
"data": {
"category": "other",
"enabled": false
},
"meta": {
"capability": "delete_category",
"requestId": "req_9f2b4a8c1d0e",
"idempotencyReplayed": false,
"docs": "https://herculeradar.com/docs/reference/delete_category"
}
}Authorization
Requires the mentions:write scope. A credential without it gets 403 FORBIDDEN. Resources in projects the credential cannot reach answer 404 NOT_FOUND rather than 403, so ids cannot be probed across tenants.
Send an Idempotency-Key header. A completed response is replayed for 24 hours, so a retry after a timeout cannot create a duplicate.