Delete insured
API Refs
- Production: Delete insured
- Staging: Delete insured
URI Parameters
Name | Type | Description | Required |
---|---|---|---|
userId | number | insure id | yes |
Example
- Get list of all insureds Request
- Get list of all insureds Response
{ total: 2, users: [ { "id": 1, "email": "[email protected]", "firstName": "John", "lastName": "Smith" }, { "id": 2, "email": "[email protected]", "firstName": "Jake", "lastName": "Stone" } ] }
- Delete insured Request with id 1
- Get list of all insureds Request
- Get list of all insureds Response
{ total: 1, users: [ { "id": 2, "email": "[email protected]", "firstName": "Jake", "lastName": "Stone" } ] }
Description
You can only delete insureds that you created yourself through our API.
This endpoint delete all insured information and cancel all related payments, which not done.
You can create a new insured with the same email address after deletion.
Updated about 1 year ago