Skip to main content
POST
BatchSetUserRoles

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
users
UserRolesEntry · object[]

The users to set. Each user may appear only once.

Required array length: 1 - 100 elements
dryRun
boolean

When true, nothing is written and the response reports what the call would do. A dry run reports every person who is not a member as USER_ROLES_OUTCOME_ADDED_TO_WORKSPACE, with only the email and names the entry lists.

Response

200 - application/json

Success

results
UserRolesResult · object[]

One result for each entry of the request, in the same order.