Change how customers sign in to a site
put/customer-accounts/settings
Change how customers sign in to a site. A person's decision; an agent is refused.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
contacts:admin- Graphql
Mutation.contactsCustomerSettingsUpdate- Sdk
contacts.customerSettings.update- Cli
contacts customer settings update
Parameters
- projectstringIn the query
Request bodyapplication/json, required
- signUpstringOne of: open, existing_only.
- passkeysboolean
- sessionDaysintegerAt least 1. At most 90.
- absoluteDaysintegerAt least 1. At most 365.
- passwordsboolean
Responses
- 200application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring