API ReferenceRules
Update a custom rule
Requires scope: `rules:write` and a paid plan.
Authorization
ApiKey AuthorizationBearer <token>
A personal API key created in the dashboard (Starter, Pro, and Team plans).
In: header
Path Parameters
id*integer
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/custom_rules/0" \ -H "Content-Type: application/json" \ -d '{ "custom_rule": { "title": "string", "content": "string" } }'{ "custom_rule": { "id": 0, "title": "string", "content": "string", "active": true, "scope": "reply", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}