GET /auth/api-keys/{id}/usage
Get usage statistics for a specified API Key
API Key `bearerAuth` application/json
Responses
| Status | Description | Schema |
| 200 | Usage statistics | |
Referenced Schemas
dto.ApiKeyUsageResponse
| Field | Type | Required | Example | Constraints | Description |
id |
string |
No |
01ARZ3NDEKTSV4RRFFQ69G5FAV |
|
|
last_used_at |
string |
No |
2024-01-15T10:30:00Z |
|
|
last_used_ip |
string |
No |
192.168.1.100 |
|
|
name |
string |
No |
my-api-key |
|
|
status |
string |
No |
active |
|
|
usage_count |
integer |
No |
42 |
|
|
gitee_com_linmes_authms_micro-services_identity-service_internal_handler_dto.DataResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
object |
No |
|
|
|
message |
string |
No |
|
|
|