DELETE
/repos/{owner}/{repo}/invitations/{invitation_id}Delete a repository invitation
Deletes a pending invitation to collaborate on a repository. Supply the repository identifiers and the invitation identifier to remove that invitation.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
ownerstringrequired
The account owner of the repository; the name is not case sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case sensitive.
invitation_idintegerrequired
The unique integer identifier of the invitation to delete.
204Returns no content after successfully deleting the repository invitation.
Error handling
owner and repo must identify the repository, and invitation_id must identify the invitation to delete. Use the integer invitation identifier associated with the repository collaboration request.