---
title: "Delete a release asset"
method: DELETE
path: "/repos/{owner}/{repo}/releases/assets/{asset_id}"
tags: ["repos"]
---

# Delete a release asset

`DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}`

## Request

- Base URL: `https://api.github.com`
- URL: `https://api.github.com/repos/{owner}/{repo}/releases/assets/{asset_id}`
- Auth: none declared

## Path parameters

- `owner` string, required
- `repo` string, required
- `asset_id` integer, required

## Response `204`

Response

## Other responses

- `404`: Resource not found

## Changes

> 85 revisions in range; 1 not diffed.

- **2026-03-25** (2022-11-28) `da449e251ccf`: 1 info
  - added the non-success response with the status `404`

[Operation history](https://skmtc.dev/github/apis/rest/changes/repos/:owner/:repo/releases/assets/:asset_id/delete.md)

---

[API](https://skmtc.dev/github/apis/rest.md) · [All operations](https://skmtc.dev/github/apis/rest/llms.txt) · [OpenAPI document](https://skmtc.dev/github/apis/rest/revisions/309e30296b21?raw)
