status to closed. The record itself is not physically removed — this is an irreversible lifecycle transition, not a hard delete. The identity must have can_delete_entity or wildcard * ACL access to the entity.closed; it has one or more child entities (close all children first); it has one or more accounts that are not themselves closed; or it has one or more payout intents that have not reached a terminal state (successful, completed, failed, rejected, or cancelled).curl --location --request DELETE '/entities/01JABC1234567890ABCDEFGHIJ' \
--header 'Authorization: Bearer <token>'{
"message": "Entity closed successfully",
"status": "success",
"data": {
"id": "01JABC1234567890ABCDEFGHIJ",
"status": "closed"
}
}