Users V2
Remove User Role
Changed onUse this API to remove a specific role from a user.
delete/api/access/v2/users/{userId}/access-levels
Request
- Base URLhttps://hostname
- URLhttps://hostname/api/access/v2/users/{userId}/access-levels
- AuthOAuth 2Client credentialsToken URL: https://{hostname}/api/access/v1/oauth/token scopes: USER, USER_WRITE
Path parameters
userIdstring uuid required
The unique identifier of the user.
Request body
Example request
{
"organizationId": "323e4567-e89b-12d3-a456-426614174000",
"roleId": "223e4567-e89b-12d3-a456-426614174000"
}Response
Access level removed successfully
Changes
- info
the security scope
USER_WRITEwas added to the endpoint's security schemePlatform-AccessManagement_OAUTH2
- info