---
title: "Deletes credentials"
method: DELETE
path: "/v1/credentials"
tags: ["Credentials"]
---

# Deletes credentials

`DELETE /v1/credentials`

Deletes encrypted credentials from the database

## Request body

- CredentialNamespaceOrigin
  - `namespace` string — The namespace the credential is stored against. Defaults to "default".
  - `origin` string, required — Website origin the credential is for
  - `projectId` string, uuid — Project to delete the credential from.

## Response `200`

Default Response

- SuccessResponse
  - `success` boolean, required

## Other responses

- `404` — An error response from the API
- `500` — An error response from the API

## Changes

- **2026-06-16** `7b73b0d57792` — 1 breaking
  - request body became required
- **2026-06-07** `4985d7bcd32f` — 3 info
  - added the new optional request property `projectId`
  - added the optional property `linkToDocs` to the response with the `404` status
  - added the optional property `linkToDocs` to the response with the `500` status
- **2026-01-08** `97dcad9b050e` — 2 info
  - the response property `context/items/params` became required for the status `404`
  - the response property `context/items/params` became required for the status `500`
- **2025-08-11** `15ffd3fc04f3` — 1 info
  - added the non-success response with the status `404`
- **2025-05-26** `c30148e5d3a9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/steel-dev/apis/steel-api/changes/v1/credentials/delete.md)

---

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