Update Queue
Resource
https://api.infobip.com/ccaas/1/queues/{queueId}
Path Params
Use this method to update the queue.
| Property name | Type | Description |
|---|---|---|
| *queueId | string | Required - Queue Id to be updated |
Body Params
| Property name | Type | Description |
|---|---|---|
| *name | string | Required - Queue name, 255 characters max. |
Request Example
PUT /ccaas/1/queues/5B7C4A0F8CC7D707908722AD8919E202 HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Accept: application/json
{
"name": "Spanish Support"
}
Response
{
"id": "5B7C4A0F8CC7D707908722AD8919E202",
"name": "Spanish Support",
"createdAt": "2019-05-15T07:51:01.446+0000",
"updatedAt": "2019-05-15T07:51:01.446+0000"
}
{
"statusCode": "ERROR",
"message": "Invalid id '5B7C4A0F8CC7D707908722AD8919E202' given! No such entity exists."
}
{
"statusCode": "ERROR",
"message": "Required request body is missing or not valid"
}