Knowledge

Cancel an upload

DELETE
/api/v1/knowledge/uploads/{upload_id}

Gives up an upload that will not be completed — a part that failed, a complete that was refused: its parts are deleted, and it no longer counts against the five uploads a workspace may have open (204). An unknown, finished, expired or cancelled upload, or one another key started, is a 404.

More in Knowledge API.

apiKey
headerAuthorizationBearer <token>

An API key, sk-syn- and 32 characters. On SynapseOrch Cloud an owner or admin makes it under Settings → Developer; on a self-hosted install, under Settings → API Keys.

upload_id*string

Response Body

Successful Response

curl -X DELETE "https://api.synapseorch.com/api/v1/knowledge/uploads/kup_01a10e5b7d9f1a3c5e7a9b1d3f5a7c9e" \  -H "Authorization: Bearer sk-syn-..."

No body.