Skip to main content
Stop an upload that is still in progress. Once cancelled, the status changes to CANCELLED and processing halts. Useful if you submitted a file in error or need to replace it.

Request

POST https://api.mapping.travel/api/v1/inventory/{uploadId}/cancel
string
required
The UUID of the upload you want to cancel.
Only uploads in PENDING or PROCESSING status can be cancelled. Attempting to cancel an upload that has already reached COMPLETED, FAILED, or CANCELLED will return a 400 error.

Example

Response

string
UUID of the cancelled upload record.
string
Human-readable confirmation message, e.g. "Upload cancelled successfully".

Error codes