Skip to main content

Delete File

DELETE /api/files/{fileId}

Delete a specific file by its ID.

Code Examples

curl --request DELETE \
--url 'https://tess.pareto.io/api/files/{fileId}' \
--header 'Authorization: Bearer YOUR_API_KEY'

Path Parameters

ParameterTypeRequiredDescription
fileIdstringYesThe ID of the file to delete

Response

{
"id": "73325",
"object": "file",
"deleted": true
}

Try it out!

Authentication

This endpoint requires Bearer token authentication.

Test Endpoint