Skip to main content
POST
Python (SDK)

Authorizations

tql_api_key
string
header
required

Headers

Connect-Protocol-Version
enum<number>
default:1
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
scope
enum<string> | null
Available options:
API_KEY_SCOPE_UNSPECIFIED,
API_KEY_SCOPE_ALL,
API_KEY_SCOPE_PERSONAL,
API_KEY_SCOPE_SERVICE_ACCOUNTS
serviceAccountMemberId
string | null
includeRevoked
boolean | null
searchTerm
string | null
sortBy
enum<string> | null
Available options:
API_KEY_SORT_FIELD_UNSPECIFIED,
API_KEY_SORT_FIELD_CREATED_AT,
API_KEY_SORT_FIELD_EXPIRES_AT,
API_KEY_SORT_FIELD_NAME
sortDirection
enum<string> | null

Common enum for sort direction used across multiple services

Available options:
SORT_DIRECTION_UNKNOWN,
SORT_DIRECTION_ASC,
SORT_DIRECTION_DESC
pageSize
integer | null
pageToken
string | null

Response

Success

apiKeys
ApiKey · object[]
nextPageToken
string | null