v1

latestOpenAPI 3.1.02026-07-263971,2281.1 MB
RBACService

ListApiKeys

post/textql.rpc.public.rbac.RBACService/ListApiKeys

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

scope'API_KEY_SCOPE_UNSPECIFIED' | 'API_KEY_SCOPE_ALL' | 'API_KEY_SCOPE_PERSONAL' | 'API_KEY_SCOPE_SERVICE_ACCOUNTS'
serviceAccountMemberIdstring nullable
includeRevokedboolean nullable
searchTermstring nullable
sortBy'API_KEY_SORT_FIELD_UNSPECIFIED' | 'API_KEY_SORT_FIELD_CREATED_AT' | 'API_KEY_SORT_FIELD_EXPIRES_AT' | 'API_KEY_SORT_FIELD_NAME'
sortDirection'SORT_DIRECTION_UNKNOWN' | 'SORT_DIRECTION_ASC' | 'SORT_DIRECTION_DESC'

Common enum for sort direction used across multiple services

pageSizeinteger nullable
pageTokenstring nullable

Response

Success

nextPageTokenstring nullable

Example response

{
  "apiKeys": [
    {
      "createdAt": "2023-01-15T01:30:15.01Z",
      "expiresAt": "2023-01-15T01:30:15.01Z",
      "revokedAt": "2023-01-15T01:30:15.01Z"
    }
  ]
}