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
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
Tenant ID |
userId |
query |
string |
Yes |
|
|
|
User ID |
Referenced Schemas
dto.MembershipCheckDetailResponse
| Field | Type | Required | Example | Constraints | Description |
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
| Field | Type | Required | Example | Constraints | Description |
is_member |
boolean |
No |
True |
|
|
role |
string |
No |
admin |
|
|
status |
string |
No |
active |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|