title Delete file section api sidebar true DELETE /repositories/file Remove a tracked file, commit, and create the next release tag. Request body Field Type Description creator_user_id string Owner payment_request_id string Payment request relative_path string Path to delete message string? Optional commit message Response 200 { "path": "invoice.md", "commit_sha": "…", "version_tag": "v4" } curl -sS -X DELETE "$BASE/repositories/file" \ -H "Authorization: Bearer $TOKEN" \ -H "X-User-Id: user-1" \ -H "Content-Type: application/json" \ -d '{ "creator_user_id":"user-1", "payment_request_id":"pr-100", "relative_path":"invoice.md" }'