Delete Contact
Delete a contact from Customerscore.
For interactive API documentation, see the Swagger reference (opens in a new tab).
Endpoint
| Method | URL |
|---|---|
| DELETE | https://api.customerscore.io/api/v1/customer/{customerExternalId}/contact/{contactExternalId} |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
customerExternalId | string | Yes | Customer external ID |
contactExternalId | string | Yes | Contact external ID |
This endpoint does not require a request body.
Example Request
curl -X DELETE "https://api.customerscore.io/api/v1/customer/12345/contact/C12345" \
-H "customerscore-key: your-generated-key"Response Codes
| Code | Description |
|---|---|
| 200 | The contact has been successfully deleted |
| 401 | Unauthorized - Missing customerscore-key in the header |
| 403 | Forbidden - Invalid key |
| 404 | Customer or contact not found |
| 405 | Method Not Allowed - Only DELETE method is allowed |