code: public void deleteApplication(String appName) {
          checkServiceState();
          ApplicationDefinition appDef = getApplication(appName);
          if (appDef == null) {
              return; 
          }
          deleteApplication(appName, appDef.getKey());
      }
docs: Delete the given application, including all of its data, from the default tenant.
  If the given application doesn't exist, the call is a no-op. WARNING: This method
  deletes an application regardless of whether it has a key defined.
  
  @param appName   Name of application to delete in default tenant.