diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-29 15:56:03 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:49:10 +0900 |
commit | 1024718e9fddbb0d61d3f64f44303964641fcdd8 (patch) | |
tree | 3eef4777a58c9d3e798827ca39e3a5fa0602088c /doc/api | |
parent | 3875983205fd3cdbdc93f18b118deaf098d75af1 (diff) | |
download | gitlab-ce-1024718e9fddbb0d61d3f64f44303964641fcdd8.tar.gz |
Refactor access_level to not_protected and ref_protected
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/runners.md | 2 |
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" |