Create an invite for a user to join a tenant (admin-only).
For external IdP tenants (idp_config is set), users are added directly if they exist. For shared IdP tenants (PASSWORD/GOOGLE), an email invite is sent that must be accepted.
Documentation Index
Fetch the complete documentation index at: https://docs.knowledgestack.ai/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Invite response model.
Tenant user role.
USER, OWNER, ADMIN