PUT api/users/{id}/demotion
Requires authentication. demote the user in the request from "superuser" If successful returns "200 OK", with the body of the response containing a representation of the the user's responsibilities. If user not found, returns "404 Not Found" If CRM operations fail for an un-recoverable reason, the service returns "502 Bad Gateway" Any other server-side errors return "500 Internal Server Error"
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
UserResponsibilitiesListRepresentation
RoleListRepresentationNone.
Response Formats
application/json, text/json, application/hal+json, application/hal+xml
Sample:
Sample not available.