Skip to main content
DELETE
/
upload
Delete uploaded file
curl --request DELETE \
  --url https://api.dev.knowmio.com/api/upload \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "path": "<string>",
  "organizationId": "<string>"
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication (lowercase header name)

Body

application/json
path
string
required

S3 file path

organizationId
string
required

Organization ID - Required when using API Key authentication. Optional with session authentication (defaults to session's active organization).

Response

File deleted successfully

success
boolean
message
string