summaryrefslogtreecommitdiff
path: root/doc/api/cluster_agents.md
diff options
context:
space:
mode:
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
```