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_idstringRequired

The Embedded customer ID or external ID. External IDs must be URL encoded and prefixed with an E, for example: EA2300.

idstringRequired

Headers

AuthorizationstringRequired

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

Query parameters

project_grantsstringRequired
Defines project grants for the project.
project_grants[assignment_type]stringOptional

Specifies whether to assign the role to a workspace (User) or collaborator group (UserGroup).

project_grants[assignment_id]stringOptional
The ID of the target workspace or collaborator group.
project_grants[project_role_id]stringOptional
The ID of the role to assign.

Response

List of project grants retrieved successfully.
datalist of objects or null

Errors