v1

latestOpenAPI 3.1.02026-07-263644911022.4 KB
Accounts API

Delete an Account

Use this endpoint to delete a specific Account.

Important: You cannot delete an account with a remaining balance. First, transfer the amount to another account before deactivating it.

delete/v1/organizations/{organization_id}/ledgers/{ledger_id}/accounts/{account_id}

Path parameters

organization_idstring uuid required

The unique identifier of the Organization associated with the Ledger.

ledger_idstring uuid required

The unique identifier of the associated Ledger.

account_idstring uuid required

The unique identifier of the account.

Headers

Content-Typestring

The type of media of the resource. Recommended value is application/json.

X-Request-Idstring uuid

A unique identifier used to trace and track each request.

Authorizationstring

Bearer JWT token for authentication. Required when PLUGIN_AUTH_ENABLED=true (enforced in multi-tenant deployments). Optional in default OSS single-tenant mode. Format: Bearer <token>

Response

Indicates that the resource was successfully deleted.