Skip to main content
Unary · Service Accounts 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:

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.ListServiceAccountTokensRequest

Response

gitpod.v1.ListServiceAccountTokensResponse
gitpod.v1.PaginationRequest
gitpod.v1.PaginationResponse
ServiceAccountToken represents metadata about a service account token. The actual token value is only returned once during creation.gitpod.v1.ServiceAccountToken
gitpod.v1.Subject