code: def _abort_upload(self):
          
          try:
              self._api.delete(
                  self._URL['upload_info'].format(upload_id=self._upload_id)
              )
          except SbgError as e:
              self._status = TransferState.FAILED
              raise SbgError(
                  'Failed to abort upload! Reason: {}'.format(e.message)
              )
docs: Aborts the upload on the API server.