Toggle router rule
PATCH
Enable or disable a content router rule by its ID
header
X-API-Key<token>API key authentication using X-API-Key header
id*numberTurns a router rule on or off
application/json- body
Turns a router rule on or off
enabled*booleanDefault Response
application/json- response
Result of a router rule write that returns no rule
success*booleanmessage*stringcurl -X PATCH 'http://localhost:3003/v1/content-router/rules/0/toggle' \ -H 'Content-Type: application/json' \ -d '{ "enabled": true}'Example Response
{ "success": true, "message": "string"}