DELETE/repos/{owner}/{repo}/invitations/{invitation_id}

Delete a repository invitation

Deletes a repository invitation from a repository. Use the repository owner, repository name, and invitation identifier to select the invitation to remove. A 204 response confirms the invitation was deleted and contains no response body.

3 parameters
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 identifier of the invitation to delete.

1 status code
204Returns no response body; the repository invitation was deleted.

Error handling

The owner path parameter and repo path parameter must identify the repository containing the invitation. The invitation_id path parameter must identify the invitation to delete.