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/protected_environments.md')
-rw-r--r--doc/api/protected_environments.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/protected_environments.md b/doc/api/protected_environments.md
index fa099afd680..46cb461b64b 100644
--- a/doc/api/protected_environments.md
+++ b/doc/api/protected_environments.md
@@ -34,7 +34,7 @@ The following types are recognized:
Gets a list of protected environments from a project:
-```shell
+```plaintext
GET /projects/:id/protected_environments
```
@@ -70,7 +70,7 @@ Example response:
Gets a single protected environment:
-```shell
+```plaintext
GET /projects/:id/protected_environments/:name
```
@@ -105,7 +105,7 @@ Example response:
Protects a single environment:
-```shell
+```plaintext
POST /projects/:id/protected_environments
```
@@ -170,7 +170,7 @@ Example response:
Unprotects the given protected environment:
-```shell
+```plaintext
DELETE /projects/:id/protected_environments/:name
```