code: public void deletePrivacyList(String listName) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          // The request of the list is an privacy message with an empty list
          Privacy request = new Privacy();
          request.setPrivacyList(listName, new ArrayList<PrivacyItem>());
  
          // Send the package to the server
          setRequest(request);
      }
docs: Remove a privacy list.
  
  @param listName the list that has changed its content.
  @throws XMPPErrorException
  @throws NoResponseException
  @throws NotConnectedException
  @throws InterruptedException