Skip to main content
PUT
Set Project Collaborator Role
Create or update an explicit collaborator role on a project. This allows granting project-specific access to users without changing their namespace or organization roles.

Path Parameters

project_id
string
required
member_id
string
required

Body

application/json

Request model for setting/updating a project collaborator role.

role
enum<string>
required

Role to assign.

Available options:
discoverer,
viewer,
editor,
owner

Response

Successful Response

Response model for project collaborator.

member_id
string
required

The WorkOS user ID of the collaborator.

role
enum<string>
required

Collaborator role.

Available options:
discoverer,
viewer,
editor,
owner