POST /internal/tenant/invitations/{code}/accept
Internal service accepts invitation, marks as used, and adds member
Tenant Service - Internal None application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
code |
path |
string |
Yes |
|
|
|
Invitation code |
Referenced Schemas
dto.AcceptInvitationDetailResponse
dto.AcceptInvitationResponse
Tenant info after accepting invitation
| Field | Type | Required | Example | Constraints | Description |
accepted_at |
string |
No |
2026-05-02T10:30:00Z |
|
|
member_id |
string |
No |
tmb_abc123 |
|
|
role |
string |
No |
member |
|
|
tenant_id |
string |
No |
tnt_abc123 |
|
|
tenant_name |
string |
No |
ACME Corporation |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|