Autional Autional
API Reference GitHub autional.com →

GET /internal/tenant/{tenant_id}/members/check

Check if user is an active member of the tenant for identity-service auth

Tenant Service - Internal None application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID
userId query string Yes User ID

Responses

StatusDescriptionSchema
200Membership check resultdto.MembershipCheckDetailResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.MembershipCheckDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.MembershipCheckResponse No
message string No
timestamp string No

dto.MembershipCheckResponse

Result of checking whether a user is a tenant member

FieldTypeRequiredExampleConstraintsDescription
is_member boolean No True
role string No admin
status string No active

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No