rybbit_update_member_site_access
Control which sites an organization member can access. Restrict to specific site IDs or grant access to all sites using the membership record ID.
Instructions
Restrict or unrestrict which sites an organization member can access. memberId is the membership record ID from rybbit_get_organization_members (not the user ID). Requires org admin/owner role and the org:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteIds | No | Numeric site IDs the member may access when restricted | |
| memberId | Yes | Membership record ID from rybbit_get_organization_members | |
| organizationId | Yes | Organization identifier | |
| hasRestrictedSiteAccess | Yes | true to restrict the member to siteIds; false for all sites |