/rules

Deletes several rules and their actions at once. Send the rules' _ids as ids in a JSON body; ids in the query string is ignored and fails with 400. Ids you cannot access are skipped without an error, so the response is 204 even when nothing was deleted. Workspace admins can delete their teammates' rules too. If any of the rules is managed under Settings > API, nothing is deleted and the response is 403.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
ids
array of strings
required

The _ids of the rules to delete. Must be an array, even for one rule.

ids*
Responses
204

The rules you can access, and their actions, were deleted. Deleting rules that were already deleted, or that you cannot access, also returns 204.

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