Delete file

DEL

Removes individual files. Returns file info.

Note: this operation removes the file from storage but doesn’t invalidate CDN cache.

Path parameters

uuidstringRequired
File UUID.

Headers

AcceptstringOptional
Version header.

Response

This endpoint returns an object.
datetime_uploadeddatetime
Date and time when a file was uploaded.
is_imageboolean
Is file is image.
is_readyboolean
Is file is ready to be used after upload.
mime_typestring
File MIME-type.
original_filenamestring
Original file name taken from uploaded file.
sizeinteger
File size in bytes.
urlstring
API resource URL for a particular file.
uuidstring
File UUID.
datetime_removeddatetimeOptional
Date and time when a file was removed, if any.
datetime_storeddatetimeOptional
Date and time of the last store request, if any.
original_file_urlstringOptional
Publicly available file CDN URL. Available if a file is not deleted.
appdataobjectOptional
Dictionary of application names and data associated with these applications.
variationsmap from strings to anyOptional

Dictionary of other files that were created using this file as a source. It’s used for video processing and document conversion jobs. E.g., <conversion_path>: <uuid>.

content_infoobjectOptional
Information about file content.
metadatamap from strings to anyOptional
Arbitrary metadata associated with a file.

Errors