GET /internal/tenant/invitations/{code}
验证邀请码的有效性并返回邀请信息
租户服务 - 内部接口 None application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
code |
path |
string |
是 |
|
|
|
邀请码 |
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-tenant/internal/handler/dto.ValidateInvitationDetailResponse
service-tenant/internal/handler/dto.ValidateInvitationResponse
验证邀请码后返回的邀请信息
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
email |
string |
否 |
user@example.com |
|
|
invited_by |
string |
否 |
usr_xyz789 |
|
|
role |
string |
否 |
member |
|
|
status |
string |
否 |
pending |
|
|
tenant_id |
string |
否 |
tnt_abc123 |
|
|