> ## Documentation Index
> Fetch the complete documentation index at: https://docs.noxus.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User Access

> What the user can do: their tenant role and permissions, and each
workspace with its role and the permissions it gives them there.



## OpenAPI

````yaml get /v1/admin/users/{user_id}/access
openapi: 3.1.0
info:
  title: Noxus Backend
  description: >-
    Backend API for the Noxus Platform. More information can be found at
    https://docs.noxus.ai
  version: 1.1.0
servers: []
security: []
paths:
  /v1/admin/users/{user_id}/access:
    get:
      tags:
        - V1 - Users
      summary: Get User Access
      description: |-
        What the user can do: their tenant role and permissions, and each
        workspace with its role and the permissions it gives them there.
      operationId: get_user_access
      parameters:
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserAccess'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    UserAccess:
      properties:
        user_id:
          type: string
          format: uuid
          title: User Id
        email:
          type: string
          title: Email
        is_active:
          type: boolean
          title: Is Active
        tenant_role_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Tenant Role Id
        tenant_role_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Tenant Role Name
        tenant_permissions:
          items:
            type: string
          type: array
          title: Tenant Permissions
        memberships:
          items:
            $ref: '#/components/schemas/MembershipAccess'
          type: array
          title: Memberships
      type: object
      required:
        - user_id
        - email
        - is_active
        - tenant_role_id
        - tenant_role_name
        - tenant_permissions
        - memberships
      title: UserAccess
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MembershipAccess:
      properties:
        workspace_id:
          type: string
          format: uuid
          title: Workspace Id
        workspace_name:
          type: string
          title: Workspace Name
        role_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Role Id
        role_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Role Name
        permissions:
          items:
            type: string
          type: array
          title: Permissions
      type: object
      required:
        - workspace_id
        - workspace_name
        - role_id
        - role_name
        - permissions
      title: MembershipAccess
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.