Remove a warehouse source group

Deletes an existing Warehouse source group.

DELETE https://warehouse.betterstack.com/api/v1/source-groups/{id}

URL parameters

id
required string

Headers

Authorization
required string
204
401

Response body

{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/logs/api/getting-started/#obtaining-a-logtail-api-token"
}
404

Response body

{
  "errors": "Resource with the provided ID was not found"
}

Example cURL

Example
curl --request DELETE \
  --url https://warehouse.betterstack.com/api/v1/source-groups/12345 \
  --header "Authorization: Bearer $TOKEN"