From 82f96a9ae2529898de0e91ccfad1d6457f3c1975 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 23 May 2023 00:07:55 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/api/cluster_agents.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/api') diff --git a/doc/api/cluster_agents.md b/doc/api/cluster_agents.md index 4bd16b88d92..1753757e5d9 100644 --- a/doc/api/cluster_agents.md +++ b/doc/api/cluster_agents.md @@ -365,12 +365,15 @@ Example response: ## Create an agent token -> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/347046) in GitLab 15.0. +> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/347046) in GitLab 15.0. +> - Two-token limit [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/361030) in GitLab 16.1. Creates a new token for an agent. You must have at least the Maintainer role to use this endpoint. +An agent can have only two active tokens at one time. + ```plaintext POST /projects/:id/cluster_agents/:agent_id/tokens ``` -- cgit v1.2.3