orgs

Cancel an organization invitation

Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.

This endpoint is not available for Enterprise Managed User (EMU) organizations.

This endpoint triggers notifications.

delete/orgs/{org}/invitations/{invitation_id}

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/invitations/{invitation_id}
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

invitation_idinteger required

The unique identifier of the invitation.

Response

Response

Changes

No recorded changes to this operation across all 83 revisions of this API.