cURL
curl --request DELETE \
--url https://{tenant}.chronosphere.io/api/v1/config/services/{service_slug}/attributes \
--header 'API-Token: <api-key>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenant}.chronosphere.io/api/v1/config/services/{service_slug}/attributes"
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/services/{service_slug}/attributes")
.header("API-Token", "<api-key>")
.asString();const options = {method: 'DELETE', headers: {'API-Token': '<api-key>'}};
fetch('https://{tenant}.chronosphere.io/api/v1/config/services/{service_slug}/attributes', 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/services/{service_slug}/attributes"
headers = {"API-Token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){}{
"message": "<string>"
}DELETE
/
api
/
v1
/
config
/
services
/
{service_slug}
/
attributes
cURL
curl --request DELETE \
--url https://{tenant}.chronosphere.io/api/v1/config/services/{service_slug}/attributes \
--header 'API-Token: <api-key>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenant}.chronosphere.io/api/v1/config/services/{service_slug}/attributes"
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/services/{service_slug}/attributes")
.header("API-Token", "<api-key>")
.asString();const options = {method: 'DELETE', headers: {'API-Token': '<api-key>'}};
fetch('https://{tenant}.chronosphere.io/api/v1/config/services/{service_slug}/attributes', 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/services/{service_slug}/attributes"
headers = {"API-Token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){}{
"message": "<string>"
}⌘I

