Objects
Delete Many Blob Objects or a Folder
Deletes up to 1,000 blob objects by ID, or everything under a folder prefix. Returns what was deleted.
DELETE
Delete Many Blob Objects or a Folder
Deletes up to 1,000 objects in one call, either by
ids or by folder prefix. Send exactly one of them. Deletion is permanent. When more objects match a prefix, remaining is true; call again until it is false.
Scope: blob:write.
Delete every object whose path starts with this folder prefix, up to 1,000 per call. Don’t send it together with
ids.The workspace ID, when the blob belongs to a workspace. The call acts on the blob of the workspace owner and needs the
blob:read workspace permission (blob:manage on routes that change data). Leave it out to act on your own blob.Example request
Response
Error Responses
The error code indicating the reason for failure. Possible values:
AUTH_TOKEN_MISSING(401): NoAuthorizationheader was sent.API_KEY_INVALID(401): The API key doesn’t exist, was revoked, or its secret doesn’t match.API_KEY_SCOPE_DENIED(403): The key lacks the scope this route needs (blob:readorblob:write);details.requirednames it.WORKSPACE_PERMISSION_DENIED(403): Only withworkspace_id: you’re a member, but your role lacks the blob permission.WORKSPACE_NOT_FOUND(404): Only withworkspace_id: the workspace was not found.VALIDATION_ERROR(400): A parameter or body field failed validation.details.pathnames the field.
Last modified on November 20, 2026