code: public void abort() {
          URL abortURL = this.sessionInfo.getSessionEndpoints().getAbortEndpoint();
          BoxJSONRequest request = new BoxJSONRequest(this.getAPI(), abortURL, HttpMethod.DELETE);
          request.send();
      }
docs: Abort an upload session, discarding any chunks that were uploaded to it.