Sign in

Delete repository contents

documented

Delete a file in a repository.

DELETE /repos/{owner}/{repo}/contents/{path}Repositoriesno implementation yet0 runs

Input

owner
Repository owner
octocat
repo
Repository name
Hello-World
path
File path in repo
path/to/file.txt
message*
Commit message
Delete file README.md
sha*
Blob SHA of the file to delete
branch
Branch name
main
committer_name*
Committer name
Your Name
committer_email*
Committer email
you@example.com
Calls GitHub as you (your API key is your account); keychains.dev holds the credentials.
Delete repository contents · GitHub · OpenIntegrations