curl -X DELETE "https://api.scanova.io/media/delete/?file=media/uploads/104/2026/09/20260908_512873_logo.png,media/uploads/104/2026/09/20260908_998211_banner.jpg" \
-H "Authorization: YOUR_API_KEY"
Media Library
Bulk-delete files by path
DELETE /media/delete/
DELETE
/
media
/
delete
/
curl -X DELETE "https://api.scanova.io/media/delete/?file=media/uploads/104/2026/09/20260908_512873_logo.png,media/uploads/104/2026/09/20260908_998211_banner.jpg" \
-H "Authorization: YOUR_API_KEY"
Deletes multiple files at once, on
A successful call returns
api.scanova.io, authenticated with your raw API key.
DELETE https://api.scanova.io/media/delete/?file={path1},{path2}
Authorization: YOUR_API_KEY
string
required
Comma-separated storage file paths to delete — the
file field values from List uploaded files, not record ids.curl -X DELETE "https://api.scanova.io/media/delete/?file=media/uploads/104/2026/09/20260908_512873_logo.png,media/uploads/104/2026/09/20260908_998211_banner.jpg" \
-H "Authorization: YOUR_API_KEY"
204 No Content. 400 with {"error": ["File does not exist."]} if none of the given paths matched a file owned by this account.
To delete by id instead of storage path, use Delete a file.
Related
- List uploaded files — get the
filepaths to delete. - Delete a file — delete a single file by id.
- API overview — the auth scheme and quota rules that apply to this endpoint.
Authorizations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: YOUR_API_KEY. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Query Parameters
Comma-separated storage file paths to delete.
Response
Files deleted.
Was this page helpful?