cfpb / regtech-cleanup-api

Repo holding the cleanup-api for deleting institutions and filing data after test runs
0 stars 0 forks source link

Add DELETE insitution endpoint #5

Closed jcadam14 closed 2 weeks ago

jcadam14 commented 1 month ago

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.