AI credit client wallets
Unassign a client
Takes the client off this wallet, which keeps its credits. A client on no wallet can no longer start an AI action in the editor until you assign them to one; calls you make through this API for them still run. Errors: wallet_not_found, account_not_on_wallet.
delete/api/ai-credits/wallets/{wallet_id}/accounts/{account_name}
Request
- Base URLhttps://api.duda.co
- URLhttps://api.duda.co/api/ai-credits/wallets/{wallet_id}/accounts/{account_name}
- AuthHTTP basic
Path parameters
wallet_idstring required
account_namestring required
The account's unique name, set when the account is created.
Response
OK
Example response
{
"assigned_accounts": [
{
"account_name": "acme-corp"
}
],
"id": "3f9c1a7e-4b21-4d9a-9f0e-8c2d1a5b7e33",
"name": "Acme Corp",
"recurrence_amount": "500.0",
"recurrence_balance": "320.0",
"recurrence_day": 15,
"topup_balance": "100.0"
}Changes
No recorded changes to this operation across all 1 revision of this API.