Entity deletion#
In Omerlo APIs, you see three kind of endpoints regarding entity deletion:delete: this represent a soft deletion meaning the data won't be removed completely. In background, we just tag the entity as deleted setting a datetime value to the common deleted_at field.
Specificity: always a DELETE http method that ends with a uuid.
restore: endpoint that aims to set deleted_at datetime value to null, restoring the given entity to NOT deleted.
Specificity: always a POST http method that ends with a uuid/restore.
remove: permanently destroy the targetted entity. It won't be available anymore.
Specificity: always a DELETE http method that ends with a uuid/remove.
Please not that a soft deleted entity won't be available anymore in ReaderAPI.
Modified at 2025-05-28 08:41:51