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}

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

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

Path Parameters

workspaceId*string
sessionId*string

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/assets/uploads/string'
Example Response
{  "data": {    "id": "string"  }}