Rivier/ Reference/ contacts

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

  • projectstring
    In the query

Request bodyapplication/json, required

  • signUpstring
    One of: open, existing_only.
  • passkeysboolean
  • sessionDaysinteger
    At least 1. At most 90.
  • absoluteDaysinteger
    At least 1. At most 365.
  • passwordsboolean

Responses

  • 200application/json
    Success

    object

  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown