PUT /api/v2/triggers/update_many

Updates the position or the active status of multiple ticket triggers. Any additional properties are ignored.

Allowed For

Request Parameters

The PUT request expects a triggers object that lists the ticket triggers to update.

Each ticket trigger may have the following properties:

NameMandatoryDescription
idyesThe ID of the ticket trigger to update
positionnoThe new position of the ticket trigger
activenoThe active status of the ticket trigger (true or false)
category_idnoThe 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}
  ]
}

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
triggers[] Array No
triggers[].id Integer Yes

The ID of the ticket trigger to update

triggers[].active Boolean No

The active status of the ticket trigger (true or false)

triggers[].category_id String No

The ID of the new category the ticket trigger is to be moved to

triggers[].position Integer No

The new position of the ticket trigger

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.