---
title: "Delete a log given the UID"
method: DELETE
path: "/v1alpha2/parents/{parent}/results/{result_uid}/logs/{log_uid}"
tags: ["Logs"]
---

# Delete a log given the UID

`DELETE /v1alpha2/parents/{parent}/results/{result_uid}/logs/{log_uid}`

## Request

- Base URL: `https://localhost:8080/apis/results.tekton.dev`
- URL: `https://localhost:8080/apis/results.tekton.dev/v1alpha2/parents/{parent}/results/{result_uid}/logs/{log_uid}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/tektoncd/apis/tekton-results-api-specification/docs/v1alpha2/parents/:parent/results/:result_uid/logs/:log_uid/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

## Changes

- **2023-10-31** `3dc0a951b1bd`: 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `200`
  - added the media type `text/plain` for the response with the status `200`
- **2023-04-03** `8fb26784c7aa`: 1 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `200`
  - added the media type `application/json` for the response with the status `200`

[Operation history](https://skmtc.dev/tektoncd/apis/tekton-results-api-specification/changes/v1alpha2/parents/:parent/results/:result_uid/logs/:log_uid/delete.md)

---

[API](https://skmtc.dev/tektoncd/apis/tekton-results-api-specification.md) - [All operations](https://skmtc.dev/tektoncd/apis/tekton-results-api-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/tektoncd/apis/tekton-results-api-specification/revisions/278d1aed13c1?raw)
