Delete a file from a repository
One step with GitHub. We can help you get access.
Get something done
Delete a file from a repository
with GitHub · Software Construction Management
Use GitHub: its GitHub v3 REST Repos API lets you delete a file from a repository in a single step (DELETE /repos/{owner}/{repo}/contents/{path}). capabilities.work can help you get signed up and connected.
- How do I delete a single file from a repo with a commit?
- Which blob SHA do I need to remove a file through the API?
Say it to your AI assistant
- Delete {path} from {owner}/{repo} with blob SHA {sha} and message {message}.
- Remove file {path} on branch {branch} of {owner}/{repo}, blob {sha}, commit message {message}.
For your developer
DELETE /repos/{owner}/{repo}/contents/{path} in GitHub v3 REST Repos API. Full spec on APIs.io.