Delete insuredās bank by id
API Refs
- Production: Delete insuredās bank by id
- Staging: Delete insuredās bank by id
URI Parameters
Name | Type | Description | Required |
---|---|---|---|
userId | number | insure id | yes |
id | string | bank id | yes |
Example
- Get list of insuredās banks Request with userId = 1;
- Get list of insuredās banks Response:
[ { "id": "11a111a1-1111-1111-11a1-11a1a1aa11aa", "name": "Bank_995", "accountType": "checking", "type": "bank", "status": "unverified" }, { "id": "22a222a1-2222-2222-22a2-22a2a2aa22aa", "name": "Bank_996", "accountType": "savings", "type": "bank", "status": "unverified" } ]
- Delete insuredās bank by id Request with id = ā22a222a1-2222-2222-22a222a2a2aa22aaā;
- Get list of insuredās banks Request with userId = 1:
- Get list of insuredās banks Response:
[ { "id": "11a111a1-1111-1111-11a1-11a1a1aa11aa", "name": "Bank_995", "accountType": "checking", "type": "bank", "status": "unverified" } ]
Description
Where to get bank id?
You can get all existing banks for any you insured. Go to Get list of insuredās banks for more information about it.
In cases where the bank is no longer active or is not needed for use, you can delete it. To delete, you need to pass the bank Id in the query parameter.
Updated 4 months ago