platform
platform copied to clipboard
feat: Delete wallet & Organization (BE)
Tasks:
- [x] Implement API to delete organization
- [x] Implement delete organization data in keycloak
- Agent is spun up - Applied validations to check if any connection, ceredential and presentation and wallet is exists against that orgId
- Agent is not spun up - Applied validations to check if any user or invitation is exists against that orgId
- If only organization is created and if no data against that orgId, then organization should be deleted directly
- [x] Implement API to delete wallet
- [x] Implement API to delete organization invitations
Duplicate Issue: https://github.com/credebl/platform/issues/741
Pending Todos:
Backend
- [ ] User should not be able to access the schema and credential definition from a different network
- [x] When try to delete an already deleted organization wallet, there is a need for validation,the system should return a '404 Not Found' status code with the message: 'Organization wallet does not exists'
- [x] When try to delete an already deleted Organization, there is a need for validation,the system should return a '404 Not Found' status code with the message: 'Organization does not exists'