Deleting Data Sources

Assuming you know the NUMERIC_ID of the data source you wish to delete, you can use the following request to delete an entire data source:

curl -X DELETE https://api.brandwatch.com/content/sources/NUMERIC_ID

This request returns a simple response to indicate how many queries were updated and/or deactivated. This happens because when a data source is deleted, there may have been queries using that data source. When this happens, the data source is simply removed from that query. However, if a query only used that data source, then it is instead deactivated (as it is no longer valid and requires user intervention to fix).

{
  "queriesUpdated": 10,
  "queriesDeactivated": 1
}