sources:write| Parameter | Type | Description |
|---|---|---|
id | integer | Required. The source ID to delete |
source_id). If contacts are found, a RESOURCE_CONFLICT error is returned with the count of affected contacts.message: "Source deleted successfully". The data field is null.| Status | Code | Description |
|---|---|---|
| 404 | NOT_FOUND | Source not found |
| 409 | RESOURCE_CONFLICT | Cannot delete source. It is being used by N contact(s) |
| 500 | INTERNAL_ERROR | Failed to delete source |
curl --location --request DELETE '/sources/1' \
--header 'Authorization: Bearer <token>'{}