Remove a collector metric target

Permanently removes a collector target. The collector will stop monitoring this target on its next configuration sync.

DELETE https://telemetry.betterstack.com/api/v1/collectors/{collector_id}/targets/{target_id}

Headers

Authorization
required string
204
404

Response body

{
  "errors": "Not found"
}
cURL
curl -X DELETE "https://telemetry.betterstack.com/api/v1/collectors/1/targets/1" \
     -H "Authorization: Bearer $TOKEN"