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 file in a commit of its own. Needs the file’s blob sha, so read it first. To remove several files in one commit, use git_trees_create with delete: true entries instead.
sha
git_trees_create
delete: true
import asyncio from charter.packs import github result = asyncio.run(github.repos_delete_file.ainvoke({"owner": ..., "repo": ..., "path": ..., "message": ..., "sha": ...}))
repo
github.APP
github.FINE_GRAINED
contents=write
owner
string
.git
path
message
branch
committer
author
Was this page helpful?