Creates an invitation and emails the invitee. One live invitation per email per team: if a pending one exists, revoke it first — re-inviting is revoke + create (there is no resend endpoint). Invitation emails expire after 7 days. Creation is capped per team per 24 hours; the cap counts created invitations, and 429 responses carry Retry-After. An admin-level role (GET /roles, admin_grant_only) can be invited only by the owner (403 ROLE_REQUIRES_OWNER), the same rule as a role change and as the console.
Permission required:member:invite
When the role assigned is admin-level: tenant_admin, or a custom role holding any admin-only team action: team owner only