GET
/
api
/
{organization_id}
/
users
/
{email}
/
roles
/
{user_role_id}
Get user role
curl --request GET \
  --url https://api.select.dev/api/{organization_id}/users/{email}/roles/{user_role_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "role": "admin",
  "scope": {
    "type": "organization",
    "id": "<string>",
    "name": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "is_default": false,
  "granted_from_team_name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

email
string
required

User's email address

user_role_id
string<uuid>
required

The ID of the role assignment

organization_id
string
required

Response

Successful Response

User role information returned by public API.