POST /internal/tenant/api-keys/validate

供 gateway 内部调用,验证 API Key 合法性并返回租户信息

租户服务 - 内部接口 None application/json

请求体

Schema: service-tenant/internal/handler/dto.InternalValidateApiKeyRequest

字段类型必填示例约束描述
api_key string 是

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-tenant/internal/handler/dto.InternalValidateApiKeyResponse

字段类型必填示例约束描述
name string 否
scope string 否
tenant_id string 否
valid boolean 否