---
title: "Assign Default Role"
method: PUT
path: "/restapi/v1.0/account/{accountId}/extension/{extensionId}/assigned-role/default"
tags: ["Role Management"]
---

# Assign Default Role

`PUT /restapi/v1.0/account/{accountId}/extension/{extensionId}/assigned-role/default`

## Request

- Base URL: `https://platform.ringcentral.com`
- URL: `https://platform.ringcentral.com/restapi/v1.0/account/{accountId}/extension/{extensionId}/assigned-role/default`
- 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/assigned-role/default/put.ts> (a function with typed inputs; its response is checked against the schema)

Assigns the default role to the currently logged-in user extension.

## Path parameters

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

## Response `200`

Assigned user role information

- AssignedRolesResource
  - `uri` string, uri
  - `records` AssignedRoleResource[]
    - `uri` string, uri: Link to an assigned role resource
    - `id` string: Internal identifier of a role
    - `autoAssigned` boolean: Specifies if a role can be auto assigned
    - `displayName` string: Name of a default role
    - `siteCompatible` boolean: Site compatibility flag
    - `siteRestricted` boolean: Site restricted flag

---

[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)
