---
title: "Delete a download artifact"
method: DELETE
path: "/repositories/{workspace}/{repo_slug}/downloads/{filename}"
tags: ["Downloads"]
---

# Delete a download artifact

`DELETE /repositories/{workspace}/{repo_slug}/downloads/{filename}`

Deletes the specified download artifact from the repository.

## Response `204`

The specified download artifact was deleted.

## Other responses

- `403` — User is not authorized to write to the repository.
- `404` — The specified download does not exist.

---

[API](https://skmtc.net/bitbucket/apis/bitbucket-api.md) · [All operations](https://skmtc.net/bitbucket/apis/bitbucket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitbucket/bitbucket-api/revisions/d98b7da55533/schema)
