diff options
author | Koen Punt <koen@koenpunt.nl> | 2017-01-11 15:32:51 +0000 |
---|---|---|
committer | Koen Punt <koen@koenpunt.nl> | 2017-01-11 15:32:51 +0000 |
commit | 6b72688b88cc304482f465ff4e6066a260b20b4e (patch) | |
tree | 67ae8fe1e26182fb1c83e4cb282673e0f158356b | |
parent | 4a463039ea9760efcdb7fa3ddb2b9723c704a53a (diff) | |
download | gitlab-ce-6b72688b88cc304482f465ff4e6066a260b20b4e.tar.gz |
Fix typo in examples
-rw-r--r-- | doc/api/enviroments.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/enviroments.md b/doc/api/enviroments.md index 1299aca8c45..e0ee20d9610 100644 --- a/doc/api/enviroments.md +++ b/doc/api/enviroments.md @@ -78,7 +78,7 @@ PUT /projects/:id/environments/:environments_id | `external_url` | string | no | The new external_url | ```bash -curl --request PUT --data "name=staging&external_url=https://staging.example.gitlab.com" --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/environment/1" +curl --request PUT --data "name=staging&external_url=https://staging.example.gitlab.com" --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/environments/1" ``` Example response: @@ -106,7 +106,7 @@ DELETE /projects/:id/environments/:environment_id | `environment_id` | integer | yes | The ID of the environment | ```bash -curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/environment/1" +curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/environments/1" ``` Example response: |