List My API Keys
Lists every API key that acts as the caller — the keys they own — across all applications.
Authorization
BearerAuth JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.PortalApiKeysService/ListMyApiKeys" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"keys": [
{
"keyId": "urn:xeonr:auth:api-key:7e0c1e52-3a0d-4a0a-9b2e-2f0f7a1b9c3d",
"name": "string",
"description": "string",
"keyPrefix": "string",
"applicationId": "string",
"applicationSlug": "string",
"applicationName": "string",
"owner": {
"kind": "API_KEY_OWNER_KIND_UNSPECIFIED",
"urn": "urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60",
"resourceType": "bucket",
"resourceId": "bkt_01J9W3E8Q9"
},
"subject": "string",
"identityless": true,
"scopes": [
"string"
],
"effectiveScopes": [
"string"
],
"resourceMode": "API_KEY_RESOURCE_MODE_UNSPECIFIED",
"bindings": [
{
"resourceType": "string",
"resourceId": "string",
"scopes": [
"string"
],
"effectiveScopes": [
"string"
]
}
],
"attributes": {
"property1": {},
"property2": {}
},
"expiresAt": "2023-01-15T01:30:15.01Z",
"lastUsedAt": "2023-01-15T01:30:15.01Z",
"revokedAt": "2023-01-15T01:30:15.01Z",
"createdAt": "2023-01-15T01:30:15.01Z",
"updatedAt": "2023-01-15T01:30:15.01Z",
"createdBy": "string",
"assertedBy": "string",
"version": "string",
"legacyPrefix": "string"
}
]
}xeonr.auth.private.v1.PortalApiKeysService
PortalApiKeysService is the person's view of the API keys products have issued through xeonr.auth.api.v1.ApiKeysService: the keys that act as them, in one place, with the power to revoke or rename them. A team's keys are the team's, listed and managed per team through the public TeamsService (the console's team page). Keys are never CREATED here — only the product can vouch for the resources a key is bound to — so each product's own screen is where a key is minted. Organisation administrators additionally see and revoke every key in the organisation.
List Organisation API Keys POST
Lists every API key in the organisation, optionally for one application. Organisation administrators only.