POST /internal/identity/validate-key
Gateway/其他服务调用此接口验证 API Key 的有效性
API Key None application/json
Referenced Schemas
dto.ValidateKeyResult
| Field | Type | Required | Example | Constraints | Description |
ip_restrictions |
array of
See dto.ipRestrictionDTO |
No |
|
|
|
key_id |
string |
No |
|
|
|
scopes |
array of
string |
No |
|
|
|
status |
string |
No |
|
|
|
tenant_id |
string |
No |
|
|
|
user_id |
string |
No |
|
|
|
dto.ipRestrictionDTO
| Field | Type | Required | Example | Constraints | Description |
id |
string |
No |
|
|
|
label |
string |
No |
|
|
|
status |
string |
No |
|
|
|
value |
string |
No |
|
|
|