What it does
Change a PIN's role, label (null clears it), or the PIN itself (pin). A new PIN signs out everyone who used the old one.
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. |
pin_idrequired | string | The id of the PIN, from list_site_pins. |
pin | string | A new PIN. |
role | one of: view, edit | The new role: view or edit. |
label | string or null | A new label. null clears it. |
Example
Call update_site_pin with these arguments:
{
"site_id": "01a1…",
"pin_id": "01a1…",
"label": "Hallway tablet"
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- Open a site with a PINLet family or a group in without accounts.