Skip to Content
Xeonr Developer Docs
API SpecificationUpdater

List a team's updater-cli keys

POST
/xeonr.updater.v1.UpdaterService/ListApiKeys

Lists the team's updater API keys as Xeonr Auth holds them: name, description, key prefix, scopes, the apps a bound key is limited to, and expiry, last-use, revocation and creation times. Revoked keys are included only when include_revoked is set. The secret is never returned. Every page is fetched server side (up to 4,000 keys), so there is no cursor.

The caller must hold a upl role (admin, writer or reader) in owner_team, as the signed-in session's teams claim records it, else PERMISSION_DENIED. API keys are refused. A deployment without API keys configured answers UNAVAILABLE.

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

ownerTeam?string

The owning team, urn:xeonr:auth:team:.

Length1 <= length
includeRevoked?boolean

validate:skip a bool has no bounds

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/ListApiKeys" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "keys": [
    "map[bucketIds:[8c1f5e2a-3b7d-4e9a-9f12-6d0c4b7a21e5] createdAt:2026-10-01T09:30:00Z createdBy:urn:xeonr:auth:user:6a1e4c9b-7d2f-4b8a-a3c5-1e9f0d7b2c48 description:Publishes Pixel from CI. effectiveScopes:[updater:apps:read updater:releases:edit] expiresAt:2027-10-22T00:00:00Z keyId:urn:xeonr:auth:api-key:01JB7Q4XK2M9P3R5T8V6W0Y1Z4 keyPrefix:a1b2c3d4 lastUsedAt:2026-10-22T08:15:00Z name:GitHub Actions scopes:[updater:apps:read updater:releases:edit]]"
  ]
}