Update the queue with the new parameters
Queues of calls
Update the queue with the new parameters
Path parameters
-
The SID of the Account that created the Queue resource to update.
-
The Twilio-provided string that uniquely identifies the Queue resource to update
Body
-
FriendlyName string
A descriptive string that you created to describe this resource. It can be up to 64 characters long.
-
MaxSize integer
The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000.
POST /2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'FriendlyName=string&MaxSize=42'
Request example
{
"FriendlyName": "string",
"MaxSize": 42
}
Request examples
{
"FriendlyName": "string",
"MaxSize": 42
}
Response examples (200)
{
"account_sid": "string",
"average_wait_time": 42,
"current_size": 42,
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"max_size": 42,
"sid": "string",
"uri": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"average_wait_time": 42,
"current_size": 42,
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"max_size": 42,
"sid": "string",
"uri": "https://example.com"
}