Skip to main content

Get role assignments

GET 

/identities/:identityId/role-assignments

This returns either a list of Role Assignments when querying with either a Role Id or Role Name, or a list of Role Assignment References if querying with only identity Id.

Request

Path Parameters

    identityId stringrequired

    Identity Id to get the role assignments for

    Example: ef38f94347e94562b5bb8424a56397d8

Query Parameters

    roleId string

    Role Id to filter the role assignments with

    Example: e7697a1e96d04db1ac7b0f4544915d2c
    roleName string

    Role name to filter the role assignments with

    Example: Engineer

Responses

A role assignment object

Schema
  • Array [
  • anyOf
    id string

    Assignment Id

    role object

    Role Id and Name related to this assignment

    id string

    the application ID

    name string

    the application name

  • ]
Loading...