v7

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-01426118.4 KB
Admin Resources

Show Admin API Key

Show details of an admin API key.

get/api/admin/v1/admin_api_keys/{id}

Response

successful

idinteger
namestring
token_previewstring
created_atstring date_time
revoked_atstring date_time nullable
activeboolean

Example response

{
  "id": 12,
  "name": "Revoker admin key",
  "token_preview": "hka_3f8e...7f01",
  "user": {
    "id": 1,
    "username": "orpheus",
    "display_name": "orpheus",
    "admin_level": "superadmin"
  },
  "created_at": "2024-03-20T15:30:00Z",
  "revoked_at": "2024-04-01T12:00:00Z",
  "active": true
}