REST API for user Permissions (grant or remove Admin)

Hello

Is there a way to manage users Admin Permissions via REST API?
(example, Grant Helpdesk, Remove Role Admin etc)

I had a look at the Postman collections, but I didnt find anything.

Thank you

1 Like

Hi Jason. Please see this post for details on the API that will accomplish this.

3 Likes

Thanks Colin!

Pasting Christina’s post here, in case link breaks at some point in future:

POST /cc/api/user/updatePermissions is the API endpoint used to update user permissions in IdentityNow. Since it is technically a private API and subject to change/deprecation, use at your own risk until a beta/v3 equivalent is released. As is the case with all private APIs, there is no available documentation, so you need to use the browser developer tools to discover how to use them.

This API requires a JSON request body with the v1 user id, the isAdmin flag which determines if the user level is being added or taken away, and an attribute called adminType describing the user level that is being set for the identity. An example JSON request body would look like this:

{
    "ids": "71624",
    "isAdmin": "1",
    "adminType": "ADMIN"
}
1 Like

https://ideas.sailpoint.com/ideas/API-I-17 you can upvote this.

2 Likes