code: public String drop(boolean forceClose, String repositoryName, String workspaceName) throws IOException,
              BackupExecuteException
     {
        if (workspaceName != null)
        {
           String sURL =
                    path + HTTPBackupAgent.Constants.BASE_URL + HTTPBackupAgent.Constants.OperationType.DROP_WORKSPACE
                             + "/" + repositoryName + "/" + workspaceName + "/" + forceClose;
  
           BackupAgentResponse response = transport.executeGET(sURL);
  
           if (response.getStatus() == Response.Status.OK.getStatusCode())
           {
              return "\nSuccessful : \n" + "\tstatus code = " + response.getStatus() + "\n";
           }
           else
           {
              return failureProcessing(response);
           }
        }
        else
        {
           String sURL =
                    path + RestRepositoryService.Constants.BASE_URL
                             + RestRepositoryService.Constants.OperationType.REMOVE_REPOSITORY + "/" + repositoryName
                             + "/" + forceClose;
  
           BackupAgentResponse response = transport.executeGET(sURL);
  
           if (response.getStatus() == Response.Status.OK.getStatusCode())
           {
              return "\nSuccessful : \n" + "\tstatus code = " + response.getStatus() + "\n";
           }
           else
           {
              return failureProcessing(response);
           }
        }
     }
docs: {@inheritDoc}