Change a users role
Change the role of a user, only available to admin authorization.
Request body
Response
OK
Example response
{
"data": {
"name": "Jane Doe"
}
}Changes
Changed in 2 of the 6 revisions of this API.10
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
- ○
added the optional property
datato the response with the401statusresponse-optional-property-added
- ○
added the optional property
datato the response with the403statusresponse-optional-property-added
- ○
added the optional property
datato the response with the404statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the401statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the403statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the404statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the401statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the403statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the404statusresponse-optional-property-added
- ○