CorebanqCorebanq Developer Docs
Accountsv1

Delete account

Handler: DeleteAccount. Deactivates the account (active=false); the row is preserved. Public reads and balance endpoints exclude inactive accounts. Deactivating an account that is already inactive requires the caller to hold the Internal role; otherwise the row is treated as not found and returns 404 Not Found. This check is enforced atomically inside the transaction via a row lock (SELECT ... FOR UPDATE). NOTE: handler responds 200 (apireply.Ok200).

DELETE
/v1/accounts/{id}

Path Parameters

id*string

Response Body

curl -X DELETE "https://example.com/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
Empty