code: def delete(self, jid, node, *, redirect_uri=None):
          
  
          iq = aioxmpp.stanza.IQ(
              type_=aioxmpp.structs.IQType.SET,
              to=jid,
              payload=pubsub_xso.OwnerRequest(
                  pubsub_xso.OwnerDelete(
                      node,
                      redirect_uri=redirect_uri
                  )
              )
          )
  
          yield from self.client.send(iq)
docs: Delete an existing node.
  
          :param jid: Address of the PubSub service.
          :type jid: :class:`aioxmpp.JID`
          :param node: Name of the PubSub node to delete.
          :type node: :class:`str` or :data:`None`
          :param redirect_uri: A URI to send to subscribers to indicate a
              replacement for the deleted node.
          :type redirect_uri: :class:`str` or :data:`None`
          :raises aioxmpp.errors.XMPPError: as returned by the service
  
          Optionally, a `redirect_uri` can be given. The `redirect_uri` will be
          sent to subscribers in the message notifying them about the node
          deletion.