v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Collaborators

Accept a repository invitation

Accepts a repository collaboration invitation, granting the user access with the specified mode (READ, WRITE, ADMIN).

Behavior:

  • If the repository belongs to an organization, the user is automatically added as an organization member if not already
  • Restores any previously deleted workspaces for this user

Returns:

  • 409 Conflict if already a collaborator
  • 204 No Content on success
post/repos/{repo_id}/invites/{invite_id}/accept

Response

Request completed successfully