capabilities.work

Delete a file

One step with Gitea. We can help you get access.

Get something done

Delete a file

with Gitea · Software Construction Management

Use Gitea: its Gitea Repository API lets you delete a file in a single step (DELETE /repos/{owner}/{repo}/contents/{filepath}). capabilities.work can help you get signed up and connected.

  • How do I delete a single file from a repository in a commit?
  • What do I need to supply to delete a file, such as its current SHA?
Say it to your AI assistant
  • Delete {filepath} from {owner}/{repo} with blob sha {sha}.
  • Remove file {filepath} in {owner}/{repo}, sha {sha}, message {message}.
For your developer

DELETE /repos/{owner}/{repo}/contents/{filepath} in Gitea Repository API. Full spec on APIs.io.