ImageKit icon

ImageKit

Interact with the ImageKit API

Folder → Rename

AI-generated

Summary

Rename a folder specified by its full path to a new name, optionally purging the CDN cache for the old folder path.

Inputs

  • Source Folder Path (required) — The full path of the folder to rename
  • New Folder Name (required) — The new name for the folder
  • Purge Cache — Whether to purge CDN cache for the old folder path (defaults to true)

Output shape

a single JSON object with details about the rename bulk job operation

The API response returns a bulk job object representing the rename operation status; the folder is renamed asynchronously, and the response includes job metadata to track progress.

Links

Discussion