Add a DELETE action for an institution, using the user-fi /v1/institution GET/POST as a template for the endpoint:
@router.get( "/{lei}", response_model=FinancialInstitutionWithRelationsDto, dependencies=[Depends(verify_user_lei_relation)] )
The endpoint should
Check that the LEI has 'E2ETEST' in the 6-12 index of the string, otherwise it's ignored
Delete all the model objects related to that LEI (FinancialInstitutionDao, any children of that or relations)
Keycloak group for LEI
Feel free to break this into individual stories for each thing being deleted.
Add a DELETE action for an institution, using the user-fi /v1/institution GET/POST as a template for the endpoint:
@router.get( "/{lei}", response_model=FinancialInstitutionWithRelationsDto, dependencies=[Depends(verify_user_lei_relation)] )
The endpoint should
Feel free to break this into individual stories for each thing being deleted.