Delete File

Delete a file and all associated data from Extend. This operation is permanent and cannot be undone.

This endpoint can be used if you’d like to manage data retention on your own rather than automated data retention policies. Or make one-off deletions for your downstream customers.

Path parameters

idstringRequired

The ID of the file to delete.

Example: "file_xK9mLPqRtN3vS8wF5hB2cQ"

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-extend-api-versionenumOptional

API version to use for the request. If you do not specify a version, you will either receive a 400 Bad Request or be set to a previous legacy version. See API Versioning for more details.

Allowed values:

Response

Successfully deleted file
successboolean
fileIdstring
The ID of the deleted file
messagestring
Confirmation message

Errors