Add a role to a user

Assigns a role to the user. Roles control what a user can access; the admin role gives full access to your marketplace admin. This call is not idempotent: adding a role the user already has assigns it again, and it then appears twice in roles. Returns the user with their updated roles.

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

User ID.

int32
required

ID of the role to add.

Responses

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