Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 1cecf61e8df..06f75381000 100644
--- a/doc/api/environments.md
+++ b/doc/api/environments.md
@@ -240,7 +240,7 @@ Example response:
## Delete an environment
-It returns `204` if the environment was successfully deleted, and `404` if the environment does not exist.
+It returns `204` if the environment was successfully deleted, and `404` if the environment does not exist. The environment must be stopped first, otherwise the request returns `403`.
```plaintext
DELETE /projects/:id/environments/:environment_id