Assets - Admin
Delete several files from S3 in one request
Delete many files in ONE request. Body: {"keys": [...]}.
Batched server-side rather than looped client-side: the single-key routes are async def running blocking boto3, so N concurrent client calls would put N blocking round-trips on the shared event loop.
Returns {"deleted": n, "results": [{"key", "status", "erro"?}, ...]} — status is deleted | invalid | error. S3 reports success for a key that never existed, so deleted means "no longer present".
post/api/assets/bulk-delete
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/assets/bulk-delete
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Headers
x-website-tokenstring nullable
x-api-tokenstring nullable
Request body
object required
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 21 revisions of this API.