Sign in

Delete repository file

documented

Delete a file from the repository.

DELETE /projects/:id/repository/files/:file_pathProjectsno implementation yet0 runs

Input

id*
GitLab Project ID or URL-encoded path
13083
file_path*
URL-encoded full path to the file
app%2Fproject%2Erb
branch*
Target branch for the commit
main
commit_message*
Commit message
delete file
author_email
Commit author email (optional)
author@example.com
author_name
Commit author name (optional)
Firstname Lastname
last_commit_id
Last known file commit ID (optional)
abcdef123456
start_branch
Base branch to create from (optional)
main
Calls GitLab as you (your API key is your account); keychains.dev holds the credentials.
Delete repository file · GitLab · OpenIntegrations