# Remove a chart

Permanently deletes a chart from a dashboard.

[endpoint]
base_url = "https://telemetry.betterstack.com"
path = "/api/v2/dashboards/{dashboard_id}/charts/{id}"
method = "DELETE"

[[path_param]]
name = "dashboard_id"
description = "The unique identifier of the dashboard."
required = true
type = "integer"

[[path_param]]
name = "id"
description = "The unique identifier of the chart to delete."
required = true
type = "integer"

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

[responses]
[[response]]
status = 204
description = "The chart was successfully deleted. No content is returned."

[[response]]
status = 404
description = "The specified dashboard or chart was not found."
[/responses]

## Example request

```shell
[label cURL]
curl --request DELETE \
     --url "https://telemetry.betterstack.com/api/v2/dashboards/1234/charts/567" \
     --header "Authorization: Bearer $TOKEN"
```
