Change which sites a member can see
change_member_accessUse this when the user wants a monitor-only member, such as a client, to see more of the account's sites, to view or edit a site they can see, or to stop seeing one. Returns the sites the member can see after the change. A site is added at once, with no invitation or email; removing one asks the user to type the site's name where the client can show a form, as the team page does. Owners and admins only. Not for someone not on the team (use invite_member), an account-level member (change_member_role changes their role; the website makes one monitor-only only by removing them in the dashboard and inviting them again with sites), or a member's last site, whose removal removes them from the team (done in the dashboard).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sites | Yes | The sites to change, each by id, name or part of its URL. To remove, one site. | |
| access | Yes | view or edit: the member sees, or edits, these sites; a site they could not see is added. remove: they stop seeing the site. | |
| member | Yes | The member's email address, or their user id from list_team. |