DELETE /user-management/local/users/{userId}/roles/{roleId}/
This resource returns the role details.
This resource is used to remove a user's role.
All the roles can't be removed from a user. A user need to have at least one role.
If you try to remove the last role, you will see an error message stating "HTTP error 422 Unprocessable Entity".
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
This is the user's ID.
This is the role Id.