From 206efcdac47553668e961728f82f2b7204d21acf Mon Sep 17 00:00:00 2001
From: Bruno Melli <gmjskier@gmail.com>
Date: Wed, 21 Dec 2016 23:14:22 -0700
Subject: [PATCH] Fix the curl command for deleting files (DELETE instead of
 PUT)

---
 doc/api/repository_files.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/api/repository_files.md b/doc/api/repository_files.md
index 8a6baed5987..c6ad78754a1 100644
--- a/doc/api/repository_files.md
+++ b/doc/api/repository_files.md
@@ -113,7 +113,7 @@ DELETE /projects/:id/repository/files
 ```
 
 ```bash
-curl --request PUT --header 'PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK' 'https://gitlab.example.com/api/v3/projects/13083/repository/files?file_path=app/project.rb&branch_name=master&author_email=author%40example.com&author_name=Firstname%20Lastname&commit_message=delete%20file'
+curl --request DELETE --header 'PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK' 'https://gitlab.example.com/api/v3/projects/13083/repository/files?file_path=app/project.rb&branch_name=master&author_email=author%40example.com&author_name=Firstname%20Lastname&commit_message=delete%20file'
 ```
 
 Example response:
-- 
GitLab