Organizations

Permanently delete an archived company

Irreversible. Company must already be archived (deletedAt set). Disconnects Plaid Items, best-effort deletes known file objects, then hard-deletes the organization row (cascade). Body must include confirmName matching the company name exactly. Requires organizations:write and delete:organization with x-organization-id of the firm.

post/organizations/{id}/purge

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/organizations/{id}/purge
  • Auth: HTTP bearer and API key in header x-organization-id

Path parameters

idstring uuid required

Archived client company organization id

Request body

confirmNamestring required

Must match the company name exactly

reasonstring

Response

Company permanently deleted

purgedboolean
organizationIdstring uuid
namestring
disconnectedFeedsinteger
objectsDeletedinteger

Changes

No recorded changes to this operation across all 5 revisions of this API.