younifyd
Menu

Put V2 Settings Account Authentication

Update Account Authentication Settings

PUT/v2/settings/account-authentication

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Put V2 Settings Account Authentication action (under Accounts).
  3. Fill in the fields below, then reference the result from later steps as {{putV2SettingsAccountAuthentication.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

dataobject
typestring

Specifies the type of object. Set this value to `account_authentication_settings`.

enable_self_signupboolean

Set to `true` to enable self signup.

auto_create_account_for_account_membersboolean

This will automatically create an account for each new account member, using the account member’s name as the account name.

account_member_self_managementstring

Whether a user with an [Account Management Authentication Token](/docs/api/accounts/post-v-2-account-members-tokens) can update their own account member details. By default, this is `disabled`. Set to `update_only` if you want the user to be able to update their own account member details (e.g., name, email, and if applicable their username and password). The user can update their own account member details by updating their [User Authentication Info](/docs/authentication/single-sign-on/user-authentication-info-api/update-a-user-authentication-info) using the `account_member_id` retrieved from the `meta` in the response of [Generating an Account Management Authentication Token](/docs/api/accounts/post-v-2-account-members-tokens) as the `id` and find the authentication credentials to update by calling the [Get All User Authentication Password Profile Info](/docs/authentication/single-sign-on/user-authentication-password-profiles-api/get-all-user-authentication-password-profile-info) endpoint.

One ofdisabledupdate_onlyDefault "disabled"

account_management_authentication_token_timeout_secsinteger

The expiry time for Account Management Authentication Token in seconds. If you want to implement idle timout for you application, see [Implementing Idle Timeout](/guides/How-To/Accounts/implement-idle-timeout)

Default 86400

json
{
  "data": {
    "type": "string",
    "enable_self_signup": true,
    "auto_create_account_for_account_members": true,
    "account_member_self_management": "disabled",
    "account_management_authentication_token_timeout_secs": 86400
  }
}

Response

Returns 200 with an object. Read it in later steps with {{putV2SettingsAccountAuthentication.response.data.<field>}}.

dataobject
linksobject
selfstring

A URL to the specific resource.

json
{
  "data": {},
  "links": {
    "self": "https://useast.api.elasticpath.com/v2/account_authentication_settings"
  }
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Put V2 Settings Account Authentication — Elastic Path — Documentation