---
title: Delete a bucket
description: Deletes an empty bucket.
doc_version: 0.1.0-preview
last_updated: 2026-09-14
---

# Delete a bucket

`DELETE /v1/workspaces/{workspaceId}/buckets/{bucketId}`

Deletes an empty bucket. Send the exact bucket name as confirmName. The bucket stays restorable for seven days. Role: editor or higher.

## Authentication

Send `Authorization: Bearer <GRAPHON_API_KEY>`. Read the key from the
GRAPHON_API_KEY environment variable. Never print it.

## Path parameters

- `workspaceId` (string) — The workspace id.
- `bucketId` (string) — The bucket id.

## Query parameters

- `confirmName` (string) — The exact current bucket name.

## Example request

```bash
curl --request DELETE \
  --url "https://g4.beta.graphon.ai/v1/workspaces/wspQ7WsH2Np5L/buckets/bktA1b2C3d4E5?confirmName=support-tickets" \
  --header "Authorization: Bearer $GRAPHON_API_KEY"
```

## CLI

```bash
graphon buckets delete support-tickets --confirm-name support-tickets
```

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
