summaryrefslogtreecommitdiff
path: root/doc/api/settings.md
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-02-22 16:09:37 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-02-22 16:16:08 +0200
commit5b39b113ae59a15782204f30b0f22957e5893032 (patch)
tree99e548993f0c4ba80e23a599b0896e18198feca8 /doc/api/settings.md
parenta612ac1cb453ec4b7b72fd8e3e26c30a27e62590 (diff)
downloadgitlab-ce-doc_replace_api_endpoint.tar.gz
Replace `gitlab.example.com` with `gitlab.com` in API examplesdoc_replace_api_endpoint
[ci skip]
Diffstat (limited to 'doc/api/settings.md')
-rw-r--r--doc/api/settings.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/settings.md b/doc/api/settings.md
index 001de76c7af..c8756b394f1 100644
--- a/doc/api/settings.md
+++ b/doc/api/settings.md
@@ -13,7 +13,7 @@ GET /application/settings
```
```bash
-curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/application/settings
+curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/application/settings
```
Example response:
@@ -68,7 +68,7 @@ PUT /application/settings
| `after_sign_out_path` | string | no | Where to redirect users after logout |
```bash
-curl -X PUT -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/application/settings?signup_enabled=false&default_project_visibility=1
+curl -X PUT -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.com/api/v3/application/settings?signup_enabled=false&default_project_visibility=1
```
Example response: