Change how customers sign in
update_customer_login_settingsChange how a site's customers sign in: switch customer login on or off (login), turn sign-in methods on (enable_methods) or off (disable_methods), and allow or stop new customers signing themselves up (allow_self_register). Only what you name changes, and one method always stays on. Turning a method on also switches login on when it was only automatically off. Google sign-in needs no setup; an own Google client only changes the name on Google's screen and is set up on the web. Facebook, Apple and other providers are not offered. Visitors see the change after the next publish.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>"
},
"name": "update_customer_login_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| login | No | "on" or "off" sets customer login; "auto" means on only when the site takes bookings, sells or has a client portal. | |
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| enable_methods | No | Sign-in methods to turn on: magic_link (email link), password (email + password), google (Continue with Google). | |
| disable_methods | No | Sign-in methods to turn off. One method always stays on. | |
| allow_self_register | No | Whether new customers may create their own account (false = only customers the business adds). |