Autional Autional
API Reference GitHub autional.com →

POST /internal/tenant/api-keys/validate

For internal gateway use: validate API Key and return tenant information

Tenant Service - Internal None application/json

Request Body

Schema: dto.InternalValidateApiKeyRequest

FieldTypeRequiredExampleConstraintsDescription
api_key string Yes

Responses

StatusDescriptionSchema
200Validation resultdto.InternalValidateApiKeyResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthorizedgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.InternalValidateApiKeyResponse

FieldTypeRequiredExampleConstraintsDescription
name string No
scope string No
tenant_id string No
valid boolean No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No