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

# Delete Credential

`DELETE /workflow/credentials/{credential_id}`

## 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}`
- Auth: HTTP bearer

Delete a credential, its secrets (cascade) and its refresh schedule.

Workflows still referencing it start failing with an "unknown credential"
step error — deliberately loud rather than silently unauthenticated.

## Path parameters

- `credential_id` string, uuid, 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)
