Reject a repository invitation
Collaborators
Reject a repository invitation
Rejects a repository collaboration invitation without granting access.
Behavior: The invitation is marked as redeemed with REJECTED status.
Validation:
- Invitation is addressed to the user’s email
- Invitation hasn’t been redeemed
- Invitation hasn’t expired
Returns:
409 Conflictif already processed204 No Contenton success
POST
Reject 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

