Update Many Macros
PUT {{baseUrl}}/api/v2/macros/update_many
Updates the provided macros with the specified changes.
Allowed For
- Agents
Request Body
{"macros"=>[{"id"=>"<integer>", "active"=>"<boolean>", "position"=>"<integer>"}, {"id"=>"<integer>", "active"=>"<boolean>", "position"=>"<integer>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"count":2,"macros":[{"actions":[],"active":true,"description":"Sets the ticket status to `solved`","id":25,"position":42,"restriction":{},"title":"Close and Save"},{"actions":[],"active":false,"description":"Adds a `priority` tag to the ticket","id":26,"restriction":{},"title":"Assign priority tag"}],"next_page":null,"previous_page":null}