Composable Frontend 2.0 Learn more 

  • Commerce Cloud/
    Authentication/
    Single Sign-on/
    Password Profiles API/
    Password Profiles

    Password Profiles

    A password_profile resource represents a specific configuration that allows users to authenticate through username and password.

    The Password Profile object

    AttributeTypeDescription
    idstringThe unique identifier for this password profile.
    metaobjectAdditional information for this password profile. For more information, see The meta object.

    username_format

    string

    The username_format of the password profile. You can change the username-format setting. However, the changes apply only to the users created or updated after changing this setting. The new setting does not change the username_format for existing users.

    The options are:

    • any
    • email
    namestringThe name of the password profile.
    typestringThe type of object returned. You must use password_profile.
    enable_one_time_password_tokenbooleanThis enables one time password token requests and events for authentication. This feature is disabled by default.

    Sample Object

    {
        "data": {
            "meta": {
                "created_at": "2021-06-03T20:21:04.579Z",
                "updated_at": "2021-06-03T20:21:04.579Z"
            },
            "type": "password_profile",
            "id": "cfec5b5b-abc8-4c49-8247-495b511607fc",
            "username_format": "email",
            "name": "password profile",
            "enable_one_time_password_token" : true
        },
        "links": {
            "self": "http://useast.api.elasticpath.com/v2/authentication-realms/c624ab3d-44f0-49cc-bff7-446ff39a24f0/password-profiles/cfec5b5b-abc8-4c49-8247-495b511607fc"
        }
    }
    

    The meta Object

    AttributeTypeDescription
    meta.created_atstringThe creation date of this password profile.
    meta.updated_atstringThe last updated date of this password profile.