diff options
author | Will Chandler <wchandler@gitlab.com> | 2018-12-04 21:16:12 +0300 |
---|---|---|
committer | Will Chandler <wchandler@gitlab.com> | 2018-12-04 21:16:12 +0300 |
commit | 09d53d01db3f5f6b3a2a409628282b8dfc9e2e86 (patch) | |
tree | a41507e426468b4e7458425a7fcf86646bcdc036 | |
parent | 80163b972a7bbbd203bb86e1d1474a592979e6d7 (diff) |
Update doc/api/repository_submodules.md
-rw-r--r-- | doc/api/repository_submodules.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/repository_submodules.md b/doc/api/repository_submodules.md index 2e6797f18f4..11b04c81172 100644 --- a/doc/api/repository_submodules.md +++ b/doc/api/repository_submodules.md @@ -22,7 +22,7 @@ PUT /projects/:id/repository/submodules/:submodule | `commit_message` | string | no | Commit message. If no message is provided, a default one will be set | ```sh -curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repositories/submodules/lib%2Fmodules%2Fexample" +curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repository/submodules/lib%2Fmodules%2Fexample" --data "branch=master&commit_sha=3ddec28ea23acc5caa5d8331a6ecb2a65fc03e88&commit_message=Update submodule reference" ``` |