---
title: "Remove Endpoint"
method: POST
path: "/user/secrets/remove"
tags: ["user"]
---

# Remove Endpoint

`POST /user/secrets/remove`

Remove a secret

## Request body

- RemoveSecretRequest
  - `tenant_id` string, required
  - `secret_id` string, required
  - `store_id` string, nullable

## Response `200`

Successful Response

- RemoveSecretResponse

## Other responses

- `400` — `{"detail": "Readonly secret store"}`
- `403` — `{"detail": "Invalid API Key"}`
- `422` — Validation Error

---

[API](https://skmtc.dev/tenzir/apis/tenzir-platform-api.md) · [All operations](https://skmtc.dev/tenzir/apis/tenzir-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tenzir/tenzir-platform-api/revisions/1c6c33bb8ba3/schema)
