diff options
Diffstat (limited to 'doc/api/cluster_agents.md')
-rw-r--r-- | doc/api/cluster_agents.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/api/cluster_agents.md b/doc/api/cluster_agents.md index 2622d6782aa..4bd16b88d92 100644 --- a/doc/api/cluster_agents.md +++ b/doc/api/cluster_agents.md @@ -1,6 +1,6 @@ --- -stage: Configure -group: Configure +stage: Deploy +group: Environments info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments --- @@ -242,7 +242,7 @@ curl --request DELETE --header "Private-Token: <your_access_token>" "https://git > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/347046) in GitLab 15.0. -Returns a list of tokens for an agent. +Returns a list of active tokens for an agent. You must have at least the Developer role to use this endpoint. @@ -313,6 +313,8 @@ Gets a single agent token. You must have at least the Developer role to use this endpoint. +Returns a `404` if the agent token has been revoked. + ```plaintext GET /projects/:id/cluster_agents/:agent_id/tokens/:token_id ``` |