Deletion semantics
We implement a soft delete system, rather than actually deleting records from the database.
Currently there are no API endpoints to list or retrieve deleted records, so the records are invisible to all parts of the system. Changes to the API may be made in the future to retrieve deleted records.
When a record is “deleted” the entity name is changed from foo
to archivedFoo
, so for example deleted transactions are archivedTransaction
.
All other parts of the record remain the same.
This effectively hides the record from all of the API calls.
Note that deleting an entity does not automatically imply deleting attached entities (for example, transactions for a deleted organization still exist and are not deleted just because the related organization is)
Updated 1 day ago