Skip to main content

List role assignments

GET 

/identities/:identityId/role-assignments

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

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

Header Parameters

    X-SailPoint-Experimental stringrequired

    Default value: true

    Use this header to enable this experimental API.

    Example: true

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...