What it does
Change a member's role (view, edit, build, publish) and/or agents (whether their own agent may work on the site, within the role). Send at least one. It applies from the member's next click or call.
Plans
Works on every plan: Free, Basic, Pro and Ultra.
Parameters
| Name | Type | About |
|---|---|---|
site_idrequired | string | The id of the site. list_sites gives the ids of your sites. |
member_idrequired | string | The id of the member, from list_members. |
role | one of: view, edit, build, publish | The new role: view, edit, build or publish. |
agents | boolean | true lets the member's own agent work on the site within their role; false stops it. |
Example
Call update_member with these arguments:
{
"site_id": "01a1…",
"member_id": "01a1…",
"role": "view"
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- Site members and rolesInvite people by email and decide what they may do.
- Open a site with a PINLet family or a group in without accounts.