Delete repository contents
documentedDelete a file in a repository.
DELETE /repos/{owner}/{repo}/contents/{path}Repositoriesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.github.com/repos/{{$owner}}/{{$repo}}/contents/{{$path}}" \
-X DELETE \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/vnd.github+json" \
-H "Content-Type: application/json" \
-H "User-Agent: keychains" \
-d '{"message": "{{$message}}", "sha": "{{$sha}}", "branch": "{{$branch}}", "committer": {"name": "{{$committer_name}}", "email": "{{$committer_email}}"}}'