[#51542731] Add an API endpoint to get the IDs of all deleted organizations.