---
title: "Delete Credential"
method: POST
path: "/accounts/delete-credential/{account_name}/{connector_name}"
tags: ["Accounts"]
---

# Delete Credential

`POST /accounts/delete-credential/{account_name}/{connector_name}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/accounts/delete-credential/{account_name}/{connector_name}`
- Auth: HTTP basic

Delete a specific connector credential for an account.

Args:
    account_name: Name of the account
    connector_name: Name of the connector to delete credentials for

Returns:
    Success message when credential is deleted

Raises:
    HTTPException: 404 if credential not found

## Path parameters

- `account_name` string, required
- `connector_name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-04-08** `92703f48a69e`: 2 info
  - 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-01-18** `2ad95b6a84b2`: 1 breaking
  - the response's body type changed from `object` to no type for status `200`
- **2026-01-18** `576ec8539f76`: 1 breaking
  - the response's body type changed from no type to `object` for status `200`
- **2025-12-20** `1005bcd47280`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hummingbot/apis/hummingbot-api/changes/accounts/delete-credential/:account_name/:connector_name/post.md)

---

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