Skip to main content
DELETE
/
v1
/
storage
/
files
/
{fileId}
Delete File
curl --request DELETE \
  --url https://api.zarkai.xyz/v1/storage/files/{fileId} \
  --header 'x-api-key: <api-key>'
{
  "fileId": "<string>",
  "isDeleted": true
}

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

fileId
string
required

The unique identifier of the file to delete

Response

200 - application/json

File deleted successfully

fileId
string
isDeleted
boolean