Skip to main content
const result = await repo.deleteTag({
  name: "v1.0.0",
});

console.log(result.message);
Tag names must not start with refs/ — the SDK handles ref resolution automatically.

Options

name
string
required
Tag name to delete (e.g. v1.0.0). Must not start with refs/.
refPolicies
object[]
Ordered per-ref policy rules ({ pattern, ops? }) embedded in the per-call JWT. First match wins. Python: ref_policies. Go: RefPolicies with type storage.RefPolicyList. See the Branch Protection guide.

Response

name
string
The deleted tag name
message
string
Confirmation message from the API