---
title: "Delete secret"
method: DELETE
path: "/secrets/{namespace}/{name}"
tags: ["secrets"]
---

# Delete secret

`DELETE /secrets/{namespace}/{name}`

Deletes a specific secret identified by namespace and name.

## Path parameters

- `namespace` string, required
- `name` string, required

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Secret not found
- `500` — Internal server error

---

[API](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api.md) · [All operations](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opendatahub-io/kubeflow-notebooks-api/revisions/97fe86faf733/schema)
