Linking and unlinking clients
linkClientOrganization creates or reactivates a relationship between an active practice tenant and an active client tenant. In production, the authenticated user must already belong to the client as Owner, Admin, or Accountant; development mode alone can skip that access check.
The operation writes the link directly as active. There is no pending status, invitation, email approval, or client-side approval banner in this implementation. Existing authorization in the client tenant is the approval condition.
unlinkClientOrganization archives the relationship. Archived links no longer count as active practice connections. Relinking the same pair reactivates the existing relationship.
Only active and archived are valid status filters.
Related
Loading index…