Image & Video APIs

How can I delete or modify the original image uploaded?

Last updated: Feb-12-2026

Deleting original assets

When you delete an original image, Cloudinary also deletes all of its derived images (transformed versions).

You can delete assets in the following ways:

Via the Media Library (UI)

  • Navigate to your Cloudinary Media Library.
  • Select the asset you want to delete.
  • Click Delete.
  • Confirm the deletion.

Via the Admin API

Use the delete_resources method in the Admin API for programmatic deletion.

Node.js example:

Via the Cloudinary CLI

Use the Cloudinary CLI to delete assets from your command line.

Example:

For more details about deleting original images and all their derived versions, see Deleting assets.

Replacing original assets with transformations:

To modify the original image, Cloudinary supports incoming transformations, which transform the image before storing it in your account.

Via the Media Library (UI)

  • Select the asset you want to replace.
  • Click Replace in the asset's details.
  • Select the Web Address tab in the Upload Widget.
  • Enter the Cloudinary URL of the asset with transformation parameters appended (for example, https://res.cloudinary.com/demo/image/upload/w_200,h_200,c_fill/sample.jpg).

Via the Upload API with incoming transformations

Use the Upload API's upload method to replace an asset with a transformed version:

  1. Specify the source URL or file path of the asset you want to upload.
  2. Set the public_id parameter to match the existing asset you want to overwrite.
  3. Include the transformation parameter with the transformations you want to apply before storing.
  4. Set overwrite: true to replace the existing asset.

Node.js example:

✔️ Feedback sent!

Rate this page:

one star two stars three stars four stars five stars