Accept a repository invitation
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 Conflictif already a collaborator204 No Contenton success
POST
Accept a repository invitation
Documentation Index
Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Required string length:
3 - 128Example:
"example_id"
Invite ID, as returned by a previous call
Example:
17
Response
Request completed successfully

