Buckets

Empty a bucket

POST/v1/workspaces/{workspaceId}/buckets/{bucketId}/empty

Deletes every object in the bucket. Send the exact bucket name as confirmName. Objects under retention stay, and the call returns object_locked with their keys. Role: editor or higher.

Authentication

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

workspaceId

string

The workspace id.

bucketId

string

The bucket id.

Request body

confirmName

string

The exact current bucket name.

Was this page helpful?