Skip to content

Is there a way to delete uploaded images using CldUploadWidget #221

Answered by colbyfayock
vikmehta asked this question in Q&A
Discussion options

You must be logged in to vote

@vikmehta unfortunately there's not currently a native way in Next Cloudinary to delete an asset

you would likely need to set up an API Endpoint (or Server Action in Next.js 13 App Router) which makes a request to the Admin API to delete the asset you want

https://cloudinary.com/documentation/admin_api#delete_resources

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@vikmehta
Comment options

Answer selected by vikmehta
Comment options

You must be logged in to vote
2 replies
@colbyfayock
Comment options

@ShueiYang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants