Alladdin

Work in progress

Site en construction

الموقع قيد الإنشاء

Alladdin
DELETE

Delete an expenses account

Scope: accounting:expenses-accounts.write https://api.alladdin.com/api/v2/expenses-accounts/{expensesAccountId}

Permanently deletes an expenses account. You cannot delete an account that is assigned to contacts or documents.
Consider archiving it instead to preserve existing references.

Parameters

Path parameters

expensesAccountId string required

Expenses Account ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.alladdin.com/api/v2/expenses-accounts/{expensesAccountId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.delete(url, headers=headers)
print(response.json())

Responses

Success responses

204 Resource deleted

Error responses

401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Expenses account not found application/json

← PreviousGet an expenses account by ID →