cURL
curl --request GET \ --url https://api.totalis.com/admin/api-keys/{prefix} \ --header 'x-admin-api-key: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "key_prefix": "<string>", "entity_type": "<string>", "entity_id": "<string>", "name": "<string>", "status": "active", "created_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z", "last_used_at": "2023-11-07T05:31:56Z", "request_count": 123, "revoked_at": "2023-11-07T05:31:56Z", "revoked_reason": "<string>" }
Get detailed information about an API key by its prefix.
Admin API key for administrative operations.
API key prefix
API key details
active
revoked
expired
Was this page helpful?