Skip to main content
POST
Set roles for a user

Authorizations

X-Domino-Api-Key
string
header
required

Path Parameters

userId
string
required

Id of the User to set roles for

Body

application/json

The roles to assign to the user

roles
string[]
required

The complete list of roles to assign to the user. Any roles not listed will be revoked.

Response

Success

metadata
object
required
roles
string[]
required