---
title: "delete"
method: DELETE
path: "/v1/bucket/{bucketId}"
tags: ["Buckets"]
---

# delete

`DELETE /v1/bucket/{bucketId}`

Delete a bucket.

Interact with the "Request Body" below to explore the arguments of this function. Enter your GroundX API key to send a request directly from this web page. Select your language of choice to structure a code snippet based on your specified arguments.

## Path parameters

- `bucketId` integer, required

## Response `200`

Bucket successfully deleted

- MessageResponse
  - `message` string

## Other responses

- `400` — Invalid bucket ID
- `401` — Unauthorized to delete bucket with given ID

---

[API](https://skmtc.net/groundxai/apis/groundx-apis.md) · [All operations](https://skmtc.net/groundxai/apis/groundx-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/groundxai/groundx-apis/revisions/1c1a5c17f52f/schema)
