Empty Bucket
Delete every object in the bucket, including older versions, while keeping the bucket itself. Emptying runs in the background.
A version still under a retention period or legal hold cannot be removed and stops the run, leaving the rest of the bucket in place. The request is also rejected while the bucket is mounted on a running workload.
PUT
/datasets/{Dataset_Id}/objects/empty/Path parameters
Dataset_IdPathintegeroptionaldataset id
Query parameters
project_idQueryintegerrequiredProject ID
active_iamQueryintegeroptionalActive IAM ID (To access contact person account) Find your Active IAM ID here
locationQuerystringrequiredLocation
Request body
application/json
No body is required. Every object in the bucket, including older versions, is deleted.
Responses
No documented responses.