---
title: "removeBucket"
method: DELETE
path: "/v1/project/{projectId}/bucket/{bucketId}"
tags: ["Projects"]
---

# removeBucket

`DELETE /v1/project/{projectId}/bucket/{bucketId}`

remove a bucket from a project. Buckets and projects can be associated many to many, this removes one bucket to project association without disturbing others.

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

- `projectId` integer, required
- `bucketId` integer, required

## Response `200`

Successful update of project

- MessageResponse
  - `message` string

## Other responses

- `400` — Invalid path parameter
- `401` — Unauthorized to update project with given ID

## Changes

- **2023-11-29** `3bb565058636` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/groundxai/apis/groundx-apis/changes/v1/project/:projectId/bucket/:bucketId/delete.md)

---

[API](https://skmtc.dev/groundxai/apis/groundx-apis.md) · [All operations](https://skmtc.dev/groundxai/apis/groundx-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/groundxai/apis/groundx-apis/revisions/d177cd9fa116?raw)
