---
title: "Returns the details of a specific user."
method: GET
path: "/accessmanagement/users/{userId}"
tags: ["accessmanagement - users"]
---

# Returns the details of a specific user.

`GET /accessmanagement/users/{userId}`

## Request

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

This endpoint returns the details of a specific user, allowing for targeted reviews and updates to individual user profiles or permissions.</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 `userId` parameter to return the specified user, ensuring accuracy and relevance in the response.

## Path parameters

- `userId` integer, required

## Response `200`

User returned successfully.

- User
  - `id` integer
  - `name` string
  - `email` string
  - `username` string
  - `oneloginUserId` string
  - `created_ts` string
  - `modified_ts` string
  - `status` boolean
  - `roles` ServiceKeyResponseFieldsRoles[]
    - `id` integer
    - `name` string
    - `description` string
  - `resourceGroups` ServiceKeyResponseFieldsResourceGroups[]
    - `id` integer
    - `name` string
    - `description` string
    - `isDefault` boolean
  - `userGroups` UserUserGroups[]
    - `id` integer
    - `name` string
    - `description` string
    - `isDefault` boolean
  - `type` 'USER' | 'SERVICE'

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