Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/GitHubClients/mod.ts>ReleaseClient#deleteAsset

Various HTTP clients for miscellaneous use.
Go to Latest
method ReleaseClient.prototype.deleteAsset
import { ReleaseClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/GitHubClients/mod.ts";

Deletes an asset with an id or name that matches the given assetIdOrName, from a release with an id or tag that matches the given releaseIdOrTag.

Parameters

releaseIdOrTag: number | string

The release id or tag name.

assetIdOrName: number | string

The asset id or name.

optional
errorWhenNotFound: boolean

True to throw an error if the asset is not found, otherwise false.

Returns

Promise<void>