Dashboards API - DELETE a dashboard
Deletes the specified dashboard.
Early Adopter
This request is an Early Adopter release and may be changed in non-compatible way.
DELETE |
|
Authentication
To execute this request, you need the Write configuration (WriteConfig
) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string |
The ID of the dashboard to be deleted. |
path | required |
Response
Response codes
Code | Description |
---|---|
204 | Success. The dashboard has been deleted. Response doesn't have a body. |
Response body
A successful request doesn't return any content.
Example
In this example, the request deletes the dashboard created in the POST request example. The response code of 204 indicates that the deletion was successful.
The API token is passed in the Authorization header.
Curl
curl -X DELETE \
https://mySampleEnv.live.dynatrace.com/api/config/v1/dashboards/7dd386fe-f91d-42e3-a2ec-0c88070933f4 \
-H 'Authorization: Api-token abcdefjhij1234567890'
Request URL
DELETE https://mySampleEnv.live.dynatrace.com/api/config/v1/dashboards/7dd386fe-f91d-42e3-a2ec-0c88070933f4
Response code
204