• Home
  • Dynatrace API
  • Configuration
  • Dashboards
  • DELETE a dashboard

Dashboards API - DELETE a dashboard

Deletes the specified dashboard.

DELETEManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/config/v1/dashboards/{id}
SaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/dashboards/{id}
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/dashboards/{id}

Authentication

To execute this request, you need an access token with WriteConfig scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

The ID of the dashboard to be deleted.

pathrequired

Response

Response codes

CodeDescription
204

Success. The dashboard has been deleted. Response doesn't have a body.

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

bash
curl -X DELETE \ https://mySampleEnv.live.dynatrace.com/api/config/v1/dashboards/7dd386fe-f91d-42e3-a2ec-0c88070933f4 \ -H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

plaintext
DELETE https://mySampleEnv.live.dynatrace.com/api/config/v1/dashboards/7dd386fe-f91d-42e3-a2ec-0c88070933f4

Response code

204

Related topics
  • Dashboards

    Learn how to create, manage, and use Dynatrace dashboards.