Reports API - DELETE a report

Deletes the specified report. Deletion cannot be undone!

This request is an Early Adopter release and may be changed in non-compatible way.

DELETE
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/reports/{id}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/reports/{id}

Parameters

Parameter Type Description In Required
id string

The ID of the report to be deleted.

path required

Response format

A successful request doesn't return any content.

Example

In this example, the request deletes the report from 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/reports/f78f78f5-00bd-4cc1-9e8b-ecfd1e379a73 \  
  -H 'Authorization: Api-token abcdefghij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/config/v1/reports/f78f78f5-00bd-4cc1-9e8b-ecfd1e379a73

Response code

204