---
title: "Deletes the object store bucket with the given name"
method: DELETE
path: "/api/v1/orgs/{orgId}/buckets/{name}"
tags: ["storage"]
---

# Deletes the object store bucket with the given name

`DELETE /api/v1/orgs/{orgId}/buckets/{name}`

Deletes the object store bucket identified by the given name. The credentials for deleting the bucket is taken from the provided secret.

## Path parameters

- `orgId` integer, required
- `name` string, required

## Query parameters

- `cloudType` 'amazon' | 'google' | 'azure', required
- `force` boolean
- `resourceGroup` string
- `storageAccount` string
- `location` string

## Headers

- `secretId` string, required

## Response `200`

Storage bucket deleted successfully

## Other responses

- `default` — Internal server error

---

[API](https://skmtc.net/banzaicloud/apis/pipeline-api.md) · [All operations](https://skmtc.net/banzaicloud/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/banzaicloud/pipeline-api/versions/a2e35c430378/schema)
