Skip to main content
Cancel an upload before finalization to allow another upload to the dataset. Returns 204, or 409 if the upload has already been finalized.

Signature

Method signature on client.datasets:

Parameters

string
required
Dataset upload ID with prefix dfu..

Returns

Promise<void> Resolves without a return value.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: POST /uploads/{uploadId}/cancel.