Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a branch or tag, by reference. heads/my-branch, without the refs/ prefix. GitHub refuses to delete the default branch.
heads/my-branch
refs/
import asyncio from charter.packs import github result = asyncio.run(github.git_refs_delete.ainvoke({"owner": ..., "repo": ..., "ref": ...}))
repo
github.APP
github.FINE_GRAINED
contents=write
owner
string
.git
ref
heads/BRANCH_NAME
tags/TAG_NAME
Was this page helpful?