Add or update customer workspace project grants
Adds or updates project grants for a project in an Embedded customer workspace. You can include a maximum of 100 grants in each request.
EARLY ACCESS FEATURE
This access control endpoint is in limited preview. The access control model is under active development and may change. Contact your Customer Success Manager to participate in early access testing.Path parameters
managed_user_id
The Embedded customer ID or external ID. External IDs must be URL encoded and prefixed with an E
, for example: EA2300
.
id
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
project_grants
Defines project grants for the project.
project_grants[assignment_type]
Specifies whether to assign the role to a workspace (User
) or collaborator group (UserGroup
).
project_grants[assignment_id]
The ID of the target workspace or collaborator group.
project_grants[project_role_id]
The ID of the role to assign.
Response
List of project grants retrieved successfully.
data