Skip to content

Return Users Me Roles Permissions

Request

Shows your own role and everything you are allowed to do for the selected team.

Security
bearerToken
Headers
X-Team-Idstring

Optional team selector for the current user's role and permissions.

curl -i -X GET \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/authorization/users/me/roles/permissions \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'X-Team-Id: string'

Responses

Success. Returns the current user's role and permissions for the selected team.

Bodyapplication/json
correlationIdstring

A unique ID assigned to this request.

roleIdinteger, (int32)

Current user's role identifier for the team.

roleNamestring or null

Current user's role name.

teamIdstring, (uuid)

Selected team identifier.

teamNamestring or null

Selected team name.

permissionsArray of objects(AuthorizationPermission)

Permissions granted or denied for the user's role.

Response
{ "correlationId": "string", "roleId": 0, "roleName": "string", "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec", "teamName": "string", "permissions": [ { … } ] }