Delete insured

📘

API Refs

URI Parameters

NameTypeDescriptionRequired
userIdnumberinsure idyes

Example

  1. Get list of all insureds Request
  2. 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"
        }
      ]
    }
    
  3. Delete insured Request with id 1
  4. Get list of all insureds Request
  5. 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.