SnozeDevelopers
API referenceAssets

Abort a direct multipart upload session

Claims the abort in the database before discarding the object store's multipart state, so it can never race a completion that has already begun, and returns the session id. Requires a workspace member with the `files:write` permission. Naturally idempotent: a session that is no longer uploading is left untouched.

DELETE
/v1/workspaces/{workspaceId}/assets/uploads/{sessionId}
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
sessionId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/workspaces/string/assets/uploads/string"
{  "data": {    "id": "string"  }}