Skip to main content
POST
Add role assignments

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body for POST /role-assignments.

role_assignments
object[]
required

The list of role assignments to add.

Required array length: 1 - 100 elements

Response

The requested role assignments were created.

Response body for POST /role-assignments.

task_ids
string[]
required

Opaque IDs of push tasks enqueued to propagate the new assignments to end systems. Each ID is a base64-encoded, URL-safe string that mirrors the identifier returned by the GraphQL addRoleAssignments mutation.

entries
object[]
required

One entry per role assignment created, in request order.