Update a Queue
Modify the properties of a call queue. Queue names must be unique among active queues within an account. Deleted queue names can be reused.
#### 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
AccountSid
The unique identifier for the account this Queue is associated with.
Sid
The unique identifier for the queue.
Request
This endpoint expects an object.
FriendlyName
A unique name for the queue. Must contain only alphanumeric characters and underscores.
MaxSize
The maximum number of calls that are allowed to wait in a queue. Must be a positive integer.
Response
The request has succeeded.
sid
The unique identifier for the queue.
account_sid
The unique identifier for the account this Queue is associated with.
friendly_name
A description that distinguishes a queue.
max_size
The maximum number of calls that are allowed to wait in a queue. Null if no limit is set.
current_size
The number of calls currently waiting in the queue.
average_wait_time
The average wait time, in seconds, of callers in a queue.
date_created
The date and time, in RFC 2822 format, the Queue was created.
date_updated
The date and time, in RFC 2822 format, the Queue was updated.
api_version
The version of the SignalWire API.
uri
The URI of this resource, relative to the API base URL.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error