cluster_agents
List all agent tokens
Lists all active tokens for an agent. You must have the Developer, Maintainer, or Owner role to use this endpoint.
get/api/v4/projects/{id}/cluster_agents/{agent_id}/tokens
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
agent_idinteger required
The ID of an agent
Query parameters
pageinteger
Current page number
per_pageinteger
Number of items per page
Response
List all agent tokens
Example response
{
"id": 1,
"agent_id": 1,
"created_by_user_id": 1
}Changes
No recorded changes to this operation across all 5 revisions of this API.