ImageKit icon

ImageKit

Interact with the ImageKit API

File → Delete

AI-generated

Summary

Delete a file from ImageKit by specifying its unique file ID.

Inputs

  • File ID (required) — The unique ID of the file to delete

Output shape

a single JSON object indicating success and echoing the deleted file ID

The output JSON contains a 'success' boolean set to true and the 'fileId' of the deleted file.

Examples

Example 1: Delete a file by its ID

Set the resource to 'File', the operation to 'Delete', and provide the 'File ID' of the target file.

Links

Discussion