Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 483 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 483 Bytes

delete-assets-node

Examples of how to delete assets from Cloudinary using the Node.js SDK

Usage

  1. Run npm install.
  2. Create a .env file in the root of the project.
  3. Copy your API environment variable from your Cloudinary console dashboard and paste it into the .env file.
  4. Run node uploadFiles.js to populate your product environment with some images and videos.
  5. Uncomment one of the delete commands from deleteFiles.js and run node deleteFiles.js.