Update queue
Changes how a project voice queue is identified or how many callers it can hold. A new name must remain unique among the project's active queues. Queue-member positions and wait times are read through the Queue Members endpoints. The Compatibility API updates the same queues through its SID-based route.
#### Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_.
[Learn more about API scopes](/docs/platform/your-signalwire-api-space).
Authentication
AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing
the word Basic followed by a space and a base64-encoded string of project_id:token.
The project ID will be used as the username and the API token as the password.
Example:
```
Authorization: Basic base64(project_id:token)
```
Path parameters
id
Unique ID of the queue.
Request
This endpoint expects an object.
name
The name of the queue.
max_size
The maximum number of callers allowed in the queue.
Response
The request has succeeded.
id
The unique identifier of the queue.
project_id
The project ID associated with this queue.
friendly_name
The friendly name of the queue.
max_size
The maximum number of callers allowed in the queue.
current_size
The current number of callers in the queue.
average_wait_time
The average wait time in seconds.
uri
The URL of this queue.
date_created
Timestamp when the queue was created.
date_updated
Timestamp when the queue was last updated.
Errors
400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error