---
title: "Delete a secret resource."
method: DELETE
path: "/secrets/{id}"
tags: ["secrets"]
---

# Delete a secret resource.

`DELETE /secrets/{id}`

Secrets referenced by resources cannot be deleted.

## Path parameters

- `id` string, required

## Response `200`

The call was successful.

- Secret
  - `description` string, required — Description of the resource.
  - `href` string, required — The endpoint for the secret resource.
  - `mime_type` 'application/x-hotp-secret' | 'application/x-pem-file' | 'application/json', required — The mime_type of the secret format.

---

[API](https://skmtc.dev/webscale/apis/webscale-apis.md) · [All operations](https://skmtc.dev/webscale/apis/webscale-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webscale/webscale-apis/revisions/c98d872b50cb/schema)
