---
title: "Delete credential"
method: POST
path: "/v1/credentials/{credential_id}/delete"
tags: ["Credentials"]
---

# Delete credential

`POST /v1/credentials/{credential_id}/delete`

Deletes a specific credential by its ID

## Path parameters

- `credential_id` string, required — The unique identifier of the credential to delete

## Headers

- `x-api-key` string, nullable — Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2026-06-08** `3a3616091b66` — 4 info
  - `header` request parameter `x-api-key` list-of-types was widened by adding types `null`
  - for the `header` request parameter `x-api-key`, the type was generalized from `string` to no type
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-02-04** `a8899e7707c4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/changes/v1/credentials/:credential_id/delete/post.md)

---

[API](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2.md) · [All operations](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/skyvern-ai/skyvern-api-2/revisions/d9771d57ea65/schema)
