Delete insured address by alias
API Refs
- Production: Delete insured address by alias
- Staging: Delete insured address by alias
URI Parameters
Name | Type | Description | Required |
---|---|---|---|
userId | number | insure id | yes |
alias | string | Name of insuredās address information | yes |
Example
- Get list of insuredās addresses Request with userId = 1;
- Get list of insuredās addresses Response:
[ { "address1": "11 Birch Hill Street", "address2": "Apt. 123", "city": "Bronx", "postalCode": "10023", "state": "NY", "phone": "123-456-7890", "alias": "Home" }, { "address1": "9234 Bank Avenue", "address2": "Apt. 04", "city": "Corona", "postalCode": "11368", "state": "NY", "phone": "123-456-7890", "alias": "Office" } ]
- Delete insured address by alias Request with alias = āOfficeā;
- Get list of insuredās addresses Request with userId = 1;
- Get list of insuredās addresses Response:
[ { "address1": "11 Birch Hill Street", "address2": "Apt. 123", "city": "Bronx", "postalCode": "10023", "state": "NY", "phone": "123-456-7890", "alias": "Home" } ]
Description
Where to get address alias?
You can get all existing addresses with their alias for any you insured. Go to Get list of insuredās addresses for more information about it.
If your insured's address is outdated or no longer in use, you can delete it.
To remove an address, you must provide its alias in the request parameters.
Once deleted, the alias and primary address values are no longer usable and you can add them with a new address, or change one of the remaining ones.
Updated about 1 year ago