code: async def delete(self, *, reason=None):
          
  
          await self._state.http.delete_invite(self.code, reason=reason)
docs: |coro|
  
          Revokes the instant invite.
  
          You must have the :attr:`~Permissions.manage_channels` permission to do this.
  
          Parameters
          -----------
          reason: Optional[:class:`str`]
              The reason for deleting this invite. Shows up on the audit log.
  
          Raises
          -------
          Forbidden
              You do not have permissions to revoke invites.
          NotFound
              The invite is invalid or expired.
          HTTPException
              Revoking the invite failed.