Skip to main content

Delete Routing Rule

DELETE /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

ParameterTypeDescription
processorIdstring (uuid)Processor ID
ruleIdstring (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"
}

500 — Internal server error