---
title: "Cancel an in-flight upload (only allowed in 'uploading' state)"
method: DELETE
path: "/spaces/{spaceId}/cubes/imports/{importId}"
tags: ["Imports"]
---

# Cancel an in-flight upload (only allowed in 'uploading' state)

`DELETE /spaces/{spaceId}/cubes/imports/{importId}`

## Request

- Base URL: `https://krova.cloud/api/v1`
- URL: `https://krova.cloud/api/v1/spaces/{spaceId}/cubes/imports/{importId}`
- Auth: API key in header `X-API-KEY`

## Path parameters

- `spaceId` string, required
- `importId` string, required

## Response `200`

Cancelled

- object
  - `success` boolean, required

## Other responses

- `404`: Resource not found
- `409`: Cannot cancel an import past the 'uploading' state

---

[API](https://skmtc.dev/krova/apis/krova-cloud-api.md) · [All operations](https://skmtc.dev/krova/apis/krova-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/krova/apis/krova-cloud-api/revisions/46bb68281ce1?raw)
