savePolicies

put

/ccadmin/v1/merchant/profilePolicies

Save Policies. Saves the modified password policies

Request

Supported Media Types
Body ()
Root Schema : savePolicies_request
Type: object
Show Source
Example:
{
    "guestCheckoutEnabled":true,
    "numberOfPreviousPasswords":3,
    "passwordExpirationEnabled":true,
    "sessionTimeoutLength":15,
    "cannotUsePreviousPasswords":true,
    "passwordExpirationLength":90,
    "sessionTimeoutEnabled":true,
    "useNumber":false,
    "useCase":false,
    "cannotUseUsername":false,
    "useMinPasswordLength":true,
    "selfRegistrationEnabled":false,
    "minPasswordLength":8,
    "enableProfileRegistrationEmailCheck":true,
    "blockCommonPasswords":true,
    "useSymbol":false
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : savePolicies_response
Type: object
Show Source
Example Response (application/json)
{
    "guestCheckoutEnabled":true,
    "numberOfPreviousPasswords":3,
    "numberOfPreviousPasswordsMinVal":1,
    "passwordExpirationEnabled":false,
    "passwordExpirationLengthMinVal":1,
    "sessionTimeoutLength":15,
    "cannotUsePreviousPasswords":false,
    "passwordExpirationLength":90,
    "minPasswordLengthMinVal":4,
    "sessionTimeoutEnabled":true,
    "minPasswordLengthMaxVal":64,
    "useNumber":true,
    "cannotUseUsername":false,
    "useMinPasswordLength":true,
    "selfRegistrationEnabled":false,
    "minPasswordLength":8,
    "numberOfPreviousPasswordsMaxVal":6,
    "enableProfileRegistrationEmailCheck":true,
    "useMixedCase":false,
    "blockCommonPasswords":true,
    "sessionTimeoutLengthMinVal":1,
    "sessionTimeoutLengthMaxVal":120,
    "useSymbol":false
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top