# Update the queue with the new parameters **POST /2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json** Update the queue with the new parameters Queues of calls ## Servers - https://api.twilio.com: https://api.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **AccountSid** (string) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resource to update. - **Sid** (string) The Twilio-provided string that uniquely identifies the Queue resource to update ### Body: application/x-www-form-urlencoded (object) - **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 1000. The maximum is 5000. ## Responses ### 200 OK #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **date_updated** (string(date-time-rfc-2822) | null) The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **current_size** (integer) The number of calls currently in the queue. - **friendly_name** (string | null) A string that you assigned to describe this resource. - **uri** (string | null) The URI of this resource, relative to `https://api.twilio.com`. - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Queue resource. - **average_wait_time** (integer) The average wait time in seconds of the members in this queue. This is calculated at the time of the request. - **sid** (string | null) The unique string that that we created to identify this Queue resource. - **date_created** (string(date-time-rfc-2822) | null) The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **max_size** (integer) The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000. [Powered by Bump.sh](https://bump.sh)