Graphon API

Delete objects

Deletes up to 1000 objects in one call, and returns one result per key. A key that is missing or under retention goes to errors, and the other keys are still deleted. Each deleted version stays recoverable for the bucket recovery window. Role: editor or higher.

POST/v1/workspaces/{workspaceId}/buckets/{bucketId}/object-actions

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

actionstring

The action to apply. One of: delete.

keysstring[]

The object keys, 1 to 1000. A repeated key counts once.

Was this page helpful?
View as Markdown