Graphon API

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}/empty

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

The workspace id.

bucketIdstring

The bucket id.

Request body

The exact current bucket name.

Was this page helpful?
View as Markdown