---
title: "Deletes the Secret resource."
method: DELETE
path: "/Resources/Secrets/{secretResourceName}"
tags: ["MeshSecrets"]
---

# Deletes the Secret resource.

`DELETE /Resources/Secrets/{secretResourceName}`

Deletes the specified Secret resource and all of its named values.

## Path parameters

- `secretResourceName` string, required

## Query parameters

- `api-version` '6.4-preview', required

## Response `200`

OK

## Other responses

- `202` — Accepted
- `204` — No Content - the specified secret was not found.
- `default` — Error

---

[API](https://skmtc.net/azure/apis/service-fabric-client-apis.md) · [All operations](https://skmtc.net/azure/apis/service-fabric-client-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/service-fabric-client-apis/revisions/6df9f2f4d542/schema)
