Triggers
Update Many Ticket Triggers
Updates the position or the active status of multiple ticket triggers. Any additional properties are ignored.
Allowed For
- Agents
Request Parameters
The PUT request expects a triggers object that lists the ticket triggers to update.
Each ticket trigger may have the following properties:
| Name | Mandatory | Description |
|---|---|---|
| id | yes | The ID of the ticket trigger to update |
| position | no | The new position of the ticket trigger |
| active | no | The active status of the ticket trigger (true or false) |
| category_id | no | The ID of the new category the ticket trigger is to be moved to |
Example Request
{
"triggers": [
{"id": 25, "position": 3},
{"id": 23, "position": 5},
{"id": 27, "position": 9},
{"id": 22, "position": 7}
]
}
put/api/v2/triggers/update_many
Request body
Response
Success response