Assign roles

Assigns the specified roles to a user. This will replace any existing role assignments for the user.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
roles
array of numbers
required
roles*
Responses
200

Roles successfully assigned

201
400

Bad request — invalid user ID or role IDs

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!