Get ownership details
GET {{baseUrl}}/identities/:identityId/ownership
Use this API to return an identity's owned objects that will cause problems for deleting the identity.
Use this API as a checklist of objects that you need to reassign to a different identity before you can delete the identity.
For a full list of objects owned by an identity, use the Search API. When you search for identities, the returned identities have a property, owns
, that contains a more comprehensive list of identity's owned objects.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-SailPoint-Experimental | boolean | (Required) Use this header to enable this experimental API. | |
Accept | string |
RESPONSES
status: OK
{"associationDetails":{"associationType":"ROLE_OWNER","entities":[{"id":"b660a232f05b4e04812ca974b3011e0f","name":"Gaston.800ddf9640a","type":"ROLE"}]}}