code: public void destroy() throws Exception {
          if (_clientId == null) {
              return;
          }
  
          // delete the clientId here
          String uri = BASE_PROFILE + uriEncode(_profileName) + "/" + BASE_CLIENTS + "/" + _clientId;
          try {
              doDelete(uri, null);
          } catch (Exception e) {
              // some sort of error
              throw new Exception("Could not delete a proxy client");
          }
      }
docs: Call when you are done with the client
  
  @throws Exception