Disable a ruleset
POST
Disable a ruleset
Sets the ruleset status to PAUSED, preventing it from being triggered and executed. If the ruleset is already PAUSED, no changes are made. A disabled ruleset will not execute even if its trigger conditions and filters are met.
Authorizations
Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.
Authentication to the API is performed by using the HTTP Header X-API-Key.
Response
Ruleset disabled successfully.
Event that triggers this rule. Accepted triggers:
- messages.new_conversation
- messages.incoming
- messages.response
- messages.delivery_failure
- messages.spam
- messages.note
- messages.disable_ai
- status.closed
- status.opened
- status.snoozed
- teammates.assigned
- teammate.mentioned
- time.unanswered_by_client
- time.unanswered_by_team
- tickets.ticket_done
Maximum string length:
50Example:
"messages.incoming"
Additional data for the trigger (required for certain triggers):
- For "teammates.assigned" or "teammate.mentioned": "no_one", "anyone", or an Agent ID
- For "time.*" triggers: duration and period in format "{duration} {period}" (e.g., "2 hours", "3 days")
Maximum string length:
250Example:
"2 hours"
Disable a ruleset