---
title: "Delete Secret Store"
method: DELETE
path: "/organization/secret-stores/{store_id}"
tags: ["organization-secret-stores"]
---

# Delete Secret Store

`DELETE /organization/secret-stores/{store_id}`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/organization/secret-stores/{store_id}`
- Auth: one of:
  - API key in cookie `fastapiusersauth`
  - HTTP bearer

Delete a store. Rejected while workspace secrets still reference it.

## Path parameters

- `store_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
