Skip to content
Athena User Guide
Esc
↑↓navigate↵open⌘Jpreview

List the system API keys

System-only, and the one row that matters is the one flagged current — a rotation revokes every other.

GET/api/admin/api-keys/system
Responses
200

Success

Array of object
idstringrequired
labelstring | nullrequired
Show properties
Any of:
string
string
null
null
expiresAtstring<date-time>required
createdAtstring<date-time>required
currentbooleanrequired
401

Unauthorized

errorstringrequired
403

Forbidden

errorstringrequired
500

Unhandled server error

errorstringrequired
Try it
Server
Request
curl -X GET '/api/admin/api-keys/system' \
  -H 'Accept: application/json'
Response
[
  {
    "id": "string",
    "label": "string",
    "expiresAt": "2019-08-24T14:15:22Z",
    "createdAt": "2019-08-24T14:15:22Z",
    "current": true
  }
]

Was this page helpful?