summaryrefslogtreecommitdiff
path: root/doc/api/cluster_agents.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-09 03:08:17 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-09 03:08:17 +0000
commit5f003678af241fe26592d90d9d1ce45dee495a9e (patch)
tree20124e43327d5b7ff90d9382e932d2713587cea9 /doc/api/cluster_agents.md
parentef270a0e19729fed50f9bb955f113daf5034d366 (diff)
downloadgitlab-ce-5f003678af241fe26592d90d9d1ce45dee495a9e.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/cluster_agents.md')
-rw-r--r--doc/api/cluster_agents.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/cluster_agents.md b/doc/api/cluster_agents.md
index d658d6893f5..16eed70fd48 100644
--- a/doc/api/cluster_agents.md
+++ b/doc/api/cluster_agents.md
@@ -95,7 +95,7 @@ Gets a single agent details.
You must have at least the Developer role to use this endpoint.
-```shell
+```plaintext
GET /projects/:id/cluster_agents/:agent_id
```
@@ -157,7 +157,7 @@ Registers an agent to the project.
You must have at least the Maintainer role to use this endpoint.
-```shell
+```plaintext
POST /projects/:id/cluster_agents
```
@@ -313,7 +313,7 @@ Gets a single agent token.
You must have at least the Developer role to use this endpoint.
-```shell
+```plaintext
GET /projects/:id/cluster_agents/:agent_id/tokens/:token_id
```
@@ -369,7 +369,7 @@ Creates a new token for an agent.
You must have at least the Maintainer role to use this endpoint.
-```shell
+```plaintext
POST /projects/:id/cluster_agents/:agent_id/tokens
```