v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
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