summaryrefslogtreecommitdiff
path: root/doc/api/environments.md
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-05-15 15:39:33 +0200
committerFrancisco Javier López <fjlopez@gitlab.com>2018-05-30 18:23:07 +0200
commit4d3f7ae1ef5881869140f0c4a5865f65569db26a (patch)
tree4d1cf8339ad9d8d9dc9a0176b90827e84ef3aaf2 /doc/api/environments.md
parent439adb96dadd49124d080db0db0b0076d2049c6b (diff)
downloadgitlab-ce-4d3f7ae1ef5881869140f0c4a5865f65569db26a.tar.gz
Removed API endpoint and specsfj-36819-remove-v3-api
Diffstat (limited to 'doc/api/environments.md')
-rw-r--r--doc/api/environments.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/environments.md b/doc/api/environments.md
index 6e20781f51a..29da4590a59 100644
--- a/doc/api/environments.md
+++ b/doc/api/environments.md
@@ -123,7 +123,7 @@ POST /projects/:id/environments/:environment_id/stop
| `environment_id` | integer | yes | The ID of the environment |
```bash
-curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/environments/1/stop"
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/environments/1/stop"
```
Example response: