# Remove an application

Deletes an existing error tracking application.

[endpoint]
base_url = "https://errors.betterstack.com"
path = "/api/v1/applications/{id}"
method = "DELETE"

[[path_param]]
name = "id"
description = "The ID of the application to delete."
required = true
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 204
description = '''No Content'''
body = ''''''

[[response]]
status = 401
description = '''Unauthorized'''
body = '''{
  "errors": "Invalid authentication"
}'''

[[response]]
status = 404
description = '''Not Found'''
body = '''{
  "errors": "Resource with the provided ID was not found"
}'''
[/responses]

#### Example cURL

```shell
[label Example]
curl --request DELETE \
  --url https://errors.betterstack.com/api/v1/applications/1234 \
  --header "Authorization: Bearer $TOKEN"
```
