---
title: "Describe User"
method: GET
path: "/users/view/{user_id}"
tags: ["Identity"]
---

# Describe User

`GET /users/view/{user_id}`

Describes an User by ID. This provides detailed information about a user

## Response `200`

Success

- UserDescribeResponse
  - `user_id` string, required — ID of the User. This is an auto generated and unique in the CoreStack system
  - `username` string, required — Username is unique in the CoreStack system. User can use this to login to CoreStack portal in addition to email
  - `status` string, required — Current Status of the user - active or inactive. Inactive user cannot login or use AccessKeys.
  - `email` string, required — Email of the User. This is unique in the CoreStack system.
  - `first_name` string, required — First Name of the user. It can be only alphanumeric.
  - `last_name` string, required — Last Name of the user. It can be only alphanumeric.
  - `role_assignment` RoleAssignment[], required — List of roles assignments for the user. The same user can be assigned different roles in different tenants
    - `tenant_name` string, required — Name of the tenant within the CoreStack account
    - `tenant_id` string, required — ID of the tenant within the CoreStack account
    - `roles` RoleAssignmentRole[], required — List of roles for this tenant. User can have multiple roles within a tenant
      - `name` string, required — Name of the Role assigned to the user under a tenant
      - `id` string, required — ID of the Role assigned to the user under a tenant
  - `timezone_id` string, required — ID of the Timezone such as Asia/Kolkata, Asia/Dubai and so on
  - `created_by` string — Name of the user/admin who created this user
  - `created_at` string — DateTime when the user was created
  - `updated_by` string — Name of the user/admin last updated this user
  - `updated_at` string — DateTime when the user was last updated
  - `sso_userid` string — User's Single Sign-on Id, if CoreStack is deployed using SingleSignOn (SSO) model
  - `account_id` string — ID of the Account in CoreStack. It will be available in the authToken API response
  - `is_accesskey_available` boolean — Is Access Key available for this user.
  - `source_user_id` string — source user id

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
