---
title: "Update a queue resource"
method: POST
path: "/texml/Accounts/{account_sid}/Queues/{queue_sid}"
tags: ["TeXML REST Commands"]
---

# Update a queue resource

`POST /texml/Accounts/{account_sid}/Queues/{queue_sid}`

Updates a queue resource.

## Path parameters

- `account_sid` string, required
- `queue_sid` string, required

## Response `200`

Queue resource.

- QueueResource
  - `account_sid` string — The id of the account the resource belongs to.
  - `average_wait_time` integer — The average wait time in seconds for members in the queue.
  - `current_size` integer — The current number of members in the queue.
  - `date_created` string — The timestamp of when the resource was created.
  - `date_updated` string — The timestamp of when the resource was last updated.
  - `max_size` integer — The maximum size of the queue.
  - `sid` string — The unique identifier of the queue.
  - `uri` string — The relative URI for this queue.
  - `subresource_uris` object — A list of related resources identified by their relative URIs.

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api/versions/e32d46c5945b/schema)
