---
title: "Returns the details of a specific user role."
method: GET
path: "/accessmanagement/userroles/{userRoleId}"
tags: ["accessmanagement - user roles"]
---

# Returns the details of a specific user role.

`GET /accessmanagement/userroles/{userRoleId}`

## Request

- Base URL: `https://manager.digicertdns.com/v1`
- URL: `https://manager.digicertdns.com/v1/accessmanagement/userroles/{userRoleId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-dns/docs/accessmanagement/userroles/:userRoleId/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint returns the details of a specific user role, enabling users to understand its permissions and configuration.</br></br>Key features include:</br></br>- **Clear success messaging:** Returns a `200` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Comprehensive error handling:** Returns `400` and `404` error codes with clear descriptions when requests fail.</br>- **Targeted data retrieval:** Employs the `userRoleId` parameter to return the specified user role's details, ensuring accuracy and relevance in the response.

## Path parameters

- `userRoleId` integer, required

## Response `200`

User role returned successfully.

- UserRole
  - `id` integer
  - `name` string
  - `roleType` string
  - `description` string
  - `isSystemRole` boolean
  - `canDelete` boolean
  - `canRename` boolean
  - `resourceGroupCount` number
  - `userCount` number
  - `created_ts` string
  - `modified_ts` string

## Other responses

- `400`: Request is malformed or invalid.
- `404`: Resource not found.

---

[API](https://skmtc.dev/digicert/apis/digicert-dns.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-dns/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-dns/revisions/c74fc728cff8?raw)
