Skip to main content
DELETE
/
api
/
v1
/
config
/
grafana-dashboards
/
{slug}
cURL
curl --request DELETE \
  --url https://{tenant}.chronosphere.io/api/v1/config/grafana-dashboards/{slug} \
  --header 'API-Token: <api-key>'
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://{tenant}.chronosphere.io/api/v1/config/grafana-dashboards/{slug}"

req, _ := http.NewRequest("DELETE", url, nil)

req.Header.Add("API-Token", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.delete("https://{tenant}.chronosphere.io/api/v1/config/grafana-dashboards/{slug}")
.header("API-Token", "<api-key>")
.asString();
const options = {method: 'DELETE', headers: {'API-Token': '<api-key>'}};

fetch('https://{tenant}.chronosphere.io/api/v1/config/grafana-dashboards/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://{tenant}.chronosphere.io/api/v1/config/grafana-dashboards/{slug}"

headers = {"API-Token": "<api-key>"}

response = requests.delete(url, headers=headers)

print(response.text)
{}
{
"message": "<string>"
}
{
"message": "<string>"
}
{
"message": "<string>"
}
{}
Classic dashboard API endpoints are not available for organizations on standard dashboards. Requests to these endpoints return an error. To manage dashboards programmatically in these environments, use the standard dashboard endpoints. For information about your organization’s dashboard configuration, contact Chronosphere Support.

Authorizations

API-Token
string
header
required

Chronosphere API token

Path Parameters

slug
string
required

Response

A successful response.

The response is of type object.