diff options
author | a-tal <github@talsma.ca> | 2016-02-26 20:49:50 -0800 |
---|---|---|
committer | a-tal <github@talsma.ca> | 2016-02-26 20:49:50 -0800 |
commit | 33520f1f699502740e67682b17ccd9432b6e693b (patch) | |
tree | 08b05068a828b2fbc77963ca428c129c82e7217b /doc/api/runners.md | |
parent | 20ac35e924d3cae1d3eb61385edad20c90a2322d (diff) | |
download | gitlab-ce-33520f1f699502740e67682b17ccd9432b6e693b.tar.gz |
fix example urls for (de)associating runners to projects
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: |