Update Many Views
PUT {{baseUrl}}/api/v2/views/update_many
Allowed For
- Agents
Request Parameters
The PUT request expects a views
object that lists the views to update.
Each view may have the following properties:
Name | Mandatory | Description |
---|---|---|
id | yes | The ID of the view to update |
position | no | The new position of the view |
active | no | The active status of the view (true or false) |
Example Request Body
{
"views": [
{"id": 25, "position": 3},
{"id": 23, "position": 5},
{"id": 27, "position": 9},
{"id": 22, "position": 7}
]
}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"views":[{"active":true,"conditions":{},"description":"View for recent tickets","execution":{},"id":123,"position":8,"restriction":{},"title":"Tickets updated less than 12 Hours"}]}