Projects

Add or re-role a member

Project owner only. Upserts the membership, so it also changes an existing member's role. On instances with billing enforcement enabled, adding someone new past the workspace plan's people limit returns 403; re-adding an existing person always succeeds.

post/projects/{id}/members

Request

  • Base URL: https://tasg.app/api/v1
  • URL: https://tasg.app/api/v1/projects/{id}/members
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Project id.

Request body

user_idstring uuid required
role'editor' | 'viewer' required

Ownership cannot be granted through the API.

Response

Added.

messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.