---
title: "Delete a credential"
method: DELETE
path: "/credentials/{name}"
tags: ["Credentials"]
---

# Delete a credential

`DELETE /credentials/{name}`

## Request

- Base URL: `http://localhost:8080/api/2.1/unity-catalog`
- URL: `http://localhost:8080/api/2.1/unity-catalog/credentials/{name}`
- Auth: none declared

Deletes a credential from the metastore. The caller must be a metastore admin or the owner of the credential.

## Query parameters

- `force` boolean

## Response `200`

The credential was successfully deleted.

- unknown

## Changes

- **2025-03-24** `ed1fa6308c2f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/unitycatalog/apis/unity-catalog-api/changes/credentials/:name/delete.md)

---

[API](https://skmtc.dev/unitycatalog/apis/unity-catalog-api.md) - [All operations](https://skmtc.dev/unitycatalog/apis/unity-catalog-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unitycatalog/apis/unity-catalog-api/revisions/c84507f0d7e0?raw)
