---
title: "Deletes the specified audio and transcription logs that have been stored for a given endpoint. It deletes all logs before (and including) a specific day."
method: DELETE
path: "/endpoints/{id}/files/logs"
tags: ["Custom Speech endpoints:"]
---

# Deletes the specified audio and transcription logs that have been stored for a given endpoint. It deletes all logs before (and including) a specific day.

`DELETE /endpoints/{id}/files/logs`

The deletion process is done asynchronously and can take up to one day depending on the amount of log files.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `endDate` string

## Response `202`

The logs will be deleted.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-speech-speechtotext.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-speech-speechtotext/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-speech-speechtotext/versions/931821089e0d/schema)
