Update a project's collaborators
PATCH/v1/projects/:id/collaborators
Replaces the project's viewers and editors with the listed users.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Collaborators updated
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to edit this project, or the API key lacks the projects:write scope (err_insufficient_scope).
Project not found (err_project_not_found).
Validation failed. Error codes:
err_duplicate_member— a user is listed more than onceerr_collaborator_not_found— a listed user is not an active user in the accounterr_user_cannot_collaborate_on_projects— a listed user doesn't have theprojects:collaboratepermissionerr_owner_not_a_collaborator— the project owner is listederr_collaborator_invalid— a listed user can't be added to the projecterr_project_archived— the project is archivederr_system_project— the project is the system projecterr_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action