Deleting a Report File

❗️

The Reporting API has been replaced by the Explore API. Talkdesk strongly encourages the transition to the Explore API. You may still use the Reporting API, but please note:

  • Talkdesk will only provide support (no SLA for bug fixing or outage recovery) until June 1, 2022.
  • The Reporting API endpoint will stop responding to requests on December 1, 2022.

Request

Make a DELETE request to /reports/<report_type>/files/{id}

After a report has been generated, it is possible to delete it by making an authenticated request to the report's endpoint and by using the DELETE method.

Sample Request

curl https://api.talkdeskapp.com/reports/calls/files/{id} \
-H 'Authorization: Bearer {ACESS_TOKEN}' \
-X DELETE

Response

  • If the report is successfully deleted, the endpoint returns a 204 response.
  • If the report has not yet been created, or no longer exists, a 403 response is returned.

Did this page help you?