Add a user to a project or update their project role

Upsert (insert or update) a user's role for a project.

The caller must have project:manage_members on the project's organization — enforced by RLS on the user-scoped client. The target user must already belong to the caller's organization.

post/projects/{project_id}/members

Path parameters

project_idstring required

Request body

user_idstring required

ID of the user whose project role to set.

project_role_idstring required

ID of the project role to assign.

Response

Successful Response

Changes