ImageKit icon

ImageKit

Interact with the ImageKit API

File → Bulk Delete

AI-generated

Summary

Deletes multiple files from ImageKit by their unique IDs using a batch endpoint.

Inputs

  • fileIds (required) — Comma-separated list of ImageKit file IDs to delete.

Output shape

a single record containing the API response for the batch deletion request

The response includes details about which files were successfully deleted. Individual file failures are typically reflected within the response payload rather than raising an error for the whole batch.

Examples

Example 1: Clean up old marketing assets

Input a comma-separated string of file IDs corresponding to images that are no longer needed.

Links

Discussion