diff options
author | Long Nguyen <long.polyglot@gmail.com> | 2016-05-20 17:00:48 +0700 |
---|---|---|
committer | Long Nguyen <long.polyglot@gmail.com> | 2016-05-20 17:00:48 +0700 |
commit | ed9b6497865e28c60e96dbc30567987165b0b221 (patch) | |
tree | 1d29d3780df108ab8c7900ff1077422058a15285 /doc/api/runners.md | |
parent | b9ab18f6edc3c8f668f16996f6cfa36d126a8082 (diff) | |
parent | f26389a02a48a53cccb3bb7dd1d7bcd4858c118d (diff) | |
download | gitlab-ce-ed9b6497865e28c60e96dbc30567987165b0b221.tar.gz |
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into issue_17479_todos_not_remove_when_leave_project
Diffstat (limited to 'doc/api/runners.md')
-rw-r--r-- | doc/api/runners.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md index cc6c6b7cb2f..ddfa298f79d 100644 --- a/doc/api/runners.md +++ b/doc/api/runners.md @@ -275,7 +275,7 @@ POST /projects/:id/runners | `runner_id` | integer | yes | The ID of a runner | ``` -curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/project/9/runners" -F "runner_id=9" +curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/9/runners" -F "runner_id=9" ``` Example response: @@ -306,7 +306,7 @@ DELETE /projects/:id/runners/:runner_id | `runner_id` | integer | yes | The ID of a runner | ``` -curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/project/9/runners/9" +curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/9/runners/9" ``` Example response: |