Skip to main content
DELETE
/
v2
/
files
/
{fileId}
Delete File
curl --request DELETE \
  --url https://api.tusky.io/v2/files/{fileId}
Delete a file from Tusky.

Path Parameters

fileId
string
required
The unique identifier of the file to delete.

Response

Returns a 204 No Content response on success.

Example

curl -X DELETE https://api.tusky.io/v2/files/file_mno345pqr678 \
  -H "Api-Key: YOUR_API_KEY"

Response

204 No Content
Deleting a file removes it from Tusky immediately, but the underlying data on the Walrus network may persist until the storage epoch expires. The file will no longer be accessible through the Tusky API or aggregators after deletion.