---
title: "Delete Credential Secret"
method: DELETE
path: "/workflow/credentials/{credential_id}/secrets/{key}"
tags: ["workflow-credentials"]
---

# Delete Credential Secret

`DELETE /workflow/credentials/{credential_id}/secrets/{key}`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/workflow/credentials/{credential_id}/secrets/{key}`
- Auth: HTTP bearer

## Path parameters

- `credential_id` string, uuid, required
- `key` string, required

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Response `204`

Successful Response

## Other responses

- `404`: Not found
- `422`: Validation Error

---

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