summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-29 15:56:03 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commit1024718e9fddbb0d61d3f64f44303964641fcdd8 (patch)
tree3eef4777a58c9d3e798827ca39e3a5fa0602088c /doc/api
parent3875983205fd3cdbdc93f18b118deaf098d75af1 (diff)
downloadgitlab-ce-1024718e9fddbb0d61d3f64f44303964641fcdd8.tar.gz
Refactor access_level to not_protected and ref_protected
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/runners.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md
index dcca30dbfa7..df458af77bb 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -159,7 +159,7 @@ PUT /runners/:id
| `tag_list` | array | no | The list of tags for a runner; put array of tags, that should be finally assigned to a runner |
| `run_untagged` | boolean | no | Flag indicating the runner can execute untagged jobs |
| `locked` | boolean | no | Flag indicating the runner is locked |
-| `access_level` | integer | no | The access_level of the runner; `unprotected`: 0, `protected`: 1 |
+| `access_level` | integer | no | The access_level of the runner; `not_protected`: 0, `ref_protected`: 1 |
```
curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/runners/6" --form "description=test-1-20150125-test" --form "tag_list=ruby,mysql,tag1,tag2"