Athena
Api key config

Get global API key enforcement configuration

GET
/admin/api-key-config

Header Parameters

apikey*string

The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.

Response Body

application/json

application/json

curl -X GET "https://athena-cluster.com/admin/api-key-config" \  -H "apikey: string"
{
  "global": {
    "enforce_api_keys": true,
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "clients": [
    {
      "client_name": "string",
      "enforce_api_keys": true,
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "status": "error",
  "message": "string",
  "error": "string"
}