# Get User Roles **GET /users/{userName}/roles** This API call is used to get the roles for specified user. Please refer to the users_roles_schema below to get the list of assignable roles. ## Servers - Sandbox server URL: https://localhost:8080 (Sandbox server URL) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **userName** (string) Username or ID of the user. ## Responses ### 200 Successful Response #### Body: application/json (array[object]) ### 401 Authentication Error. Invalid credentials. #### Body: application/json (object) - **code** (string) - **message** (string) - **description** (string) ### 403 Authorization Error. Invalid role for request. ### 404 User Not Found #### Body: application/json (object) - **status** (integer) - **error** (string) [Powered by Bump.sh](https://bump.sh)