---
title: "Update User Call Queues"
method: PUT
path: "/restapi/v1.0/account/{accountId}/extension/{extensionId}/call-queues"
tags: ["Call Queues"]
---

# Update User Call Queues

`PUT /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-queues`

## Request

- Base URL: `https://platform.ringcentral.com`
- URL: `https://platform.ringcentral.com/restapi/v1.0/account/{accountId}/extension/{extensionId}/call-queues`
- Auth: OAuth 2
  - Authorization code: `https://platform.ringcentral.com/restapi/oauth/authorize`
  - Token URL: `https://platform.ringcentral.com/restapi/oauth/token`
- TypeScript: <https://skmtc.dev/ringcentral/apis/ringcentral-api/docs/restapi/v1.0/account/:accountId/extension/:extensionId/call-queues/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates a list of call queues where the user is an agent. This
is a full update request, which means that if any call queue where the user is
an agent is not mentioned in request, then the user is automatically removed
from this queue.

## Path parameters

- `accountId` string, required
- `extensionId` string, required

## Request body

- UserCallQueues
  - `records` QueueShortInfoResource[]: List of queues where an extension is an agent
    - `id` string: Call queue extension identifier
    - `name` string: Call queue name (read-only)

## Response `200`

OK

- UserCallQueues
  - `records` QueueShortInfoResource[]: List of queues where an extension is an agent
    - `id` string: Call queue extension identifier
    - `name` string: Call queue name (read-only)

---

[API](https://skmtc.dev/ringcentral/apis/ringcentral-api.md) - [All operations](https://skmtc.dev/ringcentral/apis/ringcentral-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ringcentral/apis/ringcentral-api/revisions/8d602198ec97?raw)
