---
title: "Delete a wallet"
method: DELETE
path: "/api/ai-credits/wallets/{wallet_id}"
tags: ["AI credit client wallets"]
---

# Delete a wallet

`DELETE /api/ai-credits/wallets/{wallet_id}`

## Request

- Base URL: `https://api.duda.co`
- URL: `https://api.duda.co/api/ai-credits/wallets/{wallet_id}`
- Auth: HTTP basic

Deletes the wallet whether or not accounts are on it. A client still on it is cut off: they can no longer start an AI action in the editor. Calls you make through this API for them still run. Errors: wallet_not_found.

## Path parameters

- `wallet_id` string, required

## Response `200`

OK

## Other responses

- `400`: Bad request. The request is malformed or failed validation.
- `401`: Unauthorized. The credentials are missing or invalid.
- `429`: Too many requests. The rate limit was exceeded.

---

[API](https://skmtc.dev/duda/apis/duda-partner-api.md) - [All operations](https://skmtc.dev/duda/apis/duda-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duda/apis/duda-partner-api/revisions/52be4d41cb12?raw)
