Remove an application

Deletes an existing error tracking application.

Removing an application that has received data requires force=true; older versions remove it without asking.

DELETE https://errors.betterstack.com/api/v3/applications/{id}

URL parameters

id
required string

Query parameters

force
boolean

Headers

Authorization
required string
204
401

Response body

{
  "errors": "Invalid authentication"
}
404

Response body

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

Response body

{
  "errors": "This application has received data. Pass force=true to remove it and permanently delete all of its data."
}
422

Response body

{
  "errors": "Sorry, some values are incorrect",
  "invalid_values": {
    "force": "must be true or false"
  }
}

Example cURL

Example Remove with its data
curl --request DELETE \
  --url https://errors.betterstack.com/api/v3/applications/1234 \
  --header "Authorization: Bearer $TOKEN"
curl --request DELETE \
  --url "https://errors.betterstack.com/api/v3/applications/1234?force=true" \
  --header "Authorization: Bearer $TOKEN"