Delete a release asset
delete_release_assetDelete a release asset by attachment ID so a replacement can be uploaded without Forgejo keeping the old same-named file. Use it to clear outdated assets from a release.
Instructions
Delete one asset from a release by attachment_id (requires write mode). Used to replace a same-named asset, which Forgejo would otherwise keep alongside the new one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner. | |
| release_id | Yes | Release id the asset belongs to. | |
| attachment_id | Yes | Attachment id, from `list_release_assets`. |