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"
}