Skip to main content
GET
/
api
/
users
/
v1
/
user
/
{userId}
/
roles
Get roles assigned to a user
curl --request GET \
  --url https://api.example.com/api/users/v1/user/{userId}/roles \
  --header 'X-Domino-Api-Key: <api-key>'
{
  "metadata": {
    "notices": [
      "<string>"
    ],
    "requestId": "<string>"
  },
  "roles": [
    "<string>"
  ]
}

Authorizations

X-Domino-Api-Key
string
header
required

Path Parameters

userId
string
required

Id of the User to fetch roles for

Response

Success

metadata
object
required
roles
string[]
required