SOC-4330 | 5. Implement the rest service for identities