DELETE /api/wallpapers/[public_id]
Delete a specific wallpaper from Cloudinary storage using its public ID.Request
Path parameters
The Cloudinary public ID of the wallpaper to delete
Example request
cURL
Response
Success response
Success message confirming the wallpaper was deleted
Error responses
500 Internal Server Error
500 Internal Server Error
Implementation
This endpoint uses the Cloudinary SDK to delete images:Authentication
This endpoint requires valid Cloudinary API credentials configured in environment variables:CLOUDINARY_CLOUD_NAMECLOUDINARY_API_KEYCLOUDINARY_API_SECRET
This is an administrative endpoint. In production, you should add authentication middleware to restrict access to authorized administrators only.