Skip to main content
POST
/
file-upload
/
{sessionId}
/
abort
Abort file upload
curl --request POST \
  --url https://api.datalinks.com/api/v1/file-upload/{sessionId}/abort \
  --header 'Authorization: Bearer <token>'
{
  "sessionId": "24b49ba0-6b5c-4950-94c1-1622939cc481",
  "sessionStatus": "preparing"
}

Documentation Index

Fetch the complete documentation index at: https://docs.datalinks.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

sessionId
string<uuid>
required

The unique identifier of the file upload session. Unique identifier for the upload session.

Example:

"24b49ba0-6b5c-4950-94c1-1622939cc481"

Response

Returns aborted session status

A response contaning list of pairs of file names and their sizes.

sessionId
string<uuid>
required

Unique identifier for the upload session.

Example:

"24b49ba0-6b5c-4950-94c1-1622939cc481"

sessionStatus
enum<string>
required

Status of the upload session.

Available options:
preparing,
completed,
aborted
Example:

"preparing"