/rules/:id

Updates a rule. Only the fields you send change; name, trigger, filter and isPaused can be updated. PUT on the same path behaves exactly the same way. Rules created under Settings > API cannot be changed here.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The rule's _id.

Body Params
string
trigger

What runs the rule.

string

A JSON-encoded string. An object fails with 400.

boolean
Responses

403

The rule is managed under Settings > API, or the new trigger is call:recording-available.

404

The rule does not exist, is deleted, or you cannot access it. The body is empty.

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json
Psst... like working with APIs? Come join us!