gitpod.v1.ServiceAccountService
ListServiceAccountTokens
Lists tokens for a service account.
Use this method to:
- View all tokens for a service account
- Audit token usage
- Identify tokens to revoke
Requires impersonation: First obtain a short-lived access token via CreateServiceAccountAccessToken, then use it to call this method. The service account ID is derived from the caller's identity.
Examples
-
List tokens:
pagination: pageSize: 20
post/gitpod.v1.ServiceAccountService/ListServiceAccountTokens
Query parameters
pageSizeinteger
tokenstring
Request body
Response
Success