Set User Roles

This endpoint updates the roles of an existing user. This endpoint overrides all existing roles and replaces them with the new ones. The access token of the user which performs the request must have an admin role.

One of the following roles is always required:

  • SystemUser
  • DepartmentAdmin
  • DataControler
  • MasterUser
  • ReadOnly
Query Params
string
required

Set the new roles on this user

Body Params

Array of new roles for the user.

Responses
200

Success - Roles set

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json