Skip to main content
DELETE
/
api
/
v1
/
files
/
{file_id}
Delete File
curl --request DELETE \
  --url https://www.datalab.to/api/v1/files/{file_id} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

file_id
integer
required

Cookies

access_token
string

Response

Successful Response

Response after deleting a file.

message
string
required

Confirmation message

success
boolean
default:true

Whether the deletion was successful