PUT api/users/{id}/promotion
Requires authentication. promote the user in the request to "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 user already assigned to superuser webrole returns 409 Conflict, and the reason phrase gives more details. 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.