Empty a bucket
Starts a job that deletes every object in the bucket, and returns at once. Poll get_job until the job status is succeeded or failed. Objects under retention stay, and the job result lists their keys. An object written while the job runs can stay. Send the exact bucket name as confirmName. Role: editor or higher.
POST
/v1/workspaces/{workspaceId}/buckets/{bucketId}/emptyAuthentication
Send your Graphon API key with every request. The value is the whole API key that Graphon showed when you created it. See Authentication.
Authorization: Bearer <GRAPHON_API_KEY>Path parameters
workspaceIdstringThe workspace id.
bucketIdstringThe bucket id.
Request body
confirmNamestringThe exact current bucket name.
Was this page helpful?