Delete Routing Rule
/processors/:processorId/rules/:ruleId
Permanently delete a routing rule from a processor. Remaining rules keep their positions. If you want to temporarily disable a rule, use PATCH to set is_active: false instead.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
processorId | string (uuid) | Processor ID |
ruleId | string (uuid) | Rule ID |
Example
curl -X DELETE https://api.getnexor.ai/api/public/processors/abc-123-uuid/rules/rule-uuid \
-H "X-API-Key: nxr_live_your_api_key"
Responses
200 — Rule deleted
{
"success": true,
"message": "Rule deleted"
}
401 — Authentication error
See Authentication.
404 — Not found
{
"error": "Not found",
"message": "Rule not found"
}