Assigns one or more roles to a user in corresponding products (OneHub and Benefits).

Assigns valid roles to a user if the role is not already assigned. Please note that roles definition is not shared between products.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The identifier of user id in OneHub.

Body Params

The request body for assigning new roles

roles
array of strings
required
length between 1 and 10
roles*

Role name/identifier

Headers
string

An id that uniquely identifies the request. If added, this will aid any request debugging and can be used for idempotency checks

Responses

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