List all agent tokens
GET
/api/v4/projects/{id}/cluster_agents/{agent_id}/tokens
Lists all active tokens for an agent. You must have the Developer, Maintainer, or Owner role to use this endpoint.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”page
integer
Current page number
Example
1per_page
integer
Number of items per page
Example
20Responses
Section titled “Responses”OK
Media typeapplication/json
object
id
integer format: int64
name
string
description
string
agent_id
integer format: int64
status
string
created_at
string format: date-time
created_by_user_id
integer format: int64
Example
{ "id": 1, "agent_id": 1, "created_by_user_id": 1}Bad Request
Not Found