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: 401f7ac837da42b97f613d789819ff93537bee6a"
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: 401f7ac837da42b97f613d789819ff93537bee6a"
Deletes multiple files at once, on the Management API host (
A successful call returns
api.scanova.io), authenticated with your raw Management API key.
DELETE https://api.scanova.io/media/delete/?file={path1},{path2}
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
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: 401f7ac837da42b97f613d789819ff93537bee6a"
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.
- Management 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: 401f7ac837da42b97f613d789819ff93537bee6a. 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?