diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-06-15 17:30:55 -0500 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-07-05 16:54:22 -0500 |
commit | 512adc21feff5135de94d23ed6808296b365490a (patch) | |
tree | a1067fee6ea02eeae2f13750f17b64ff7544a9b0 /doc/api/settings.md | |
parent | 1141eaf5c83f927ccc064b6c5d162081fdd22894 (diff) | |
download | gitlab-ce-512adc21feff5135de94d23ed6808296b365490a.tar.gz |
Add setting that allows admins to choose which Git access protocols are enabled
Diffstat (limited to 'doc/api/settings.md')
-rw-r--r-- | doc/api/settings.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/settings.md b/doc/api/settings.md index 741c5a29581..baadad18ce8 100644 --- a/doc/api/settings.md +++ b/doc/api/settings.md @@ -68,6 +68,7 @@ PUT /application/settings | `after_sign_out_path` | string | no | Where to redirect users after logout | | `container_registry_token_expire_delay` | integer | no | Container Registry token duration in minutes | | `repository_storage` | string | no | Storage path for new projects. The value should be the name of one of the repository storage paths defined in your gitlab.yml | +| `enabled_git_access_protocols` | string | no | Enabled protocols for Git access. Allowed values are: `ssh`, `http`, and `nil` to allow both protocols. ```bash curl -X PUT -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/application/settings?signup_enabled=false&default_project_visibility=1 |