savePolicies

put

/ccadmin/v1/merchant/profilePolicies

Save Policies. Saves the modified password policies

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : savePolicies_request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : savePolicies_response
Example 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,
    "minPasswordLength":8,
    "numberOfPreviousPasswordsMaxVal":6,
    "useMixedCase":false,
    "blockCommonPasswords":true,
    "sessionTimeoutLengthMinVal":1,
    "sessionTimeoutLengthMaxVal":120,
    "useSymbol":false
}
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Request:

{
  "guestCheckoutEnabled": true,
  "numberOfPreviousPasswords": 3,
  "passwordExpirationEnabled": true,
  "sessionTimeoutLength": 15,
  "cannotUsePreviousPasswords": true,
  "passwordExpirationLength": 90,
  "sessionTimeoutEnabled": true,
  "useNumber": false,
  "useCase": false,
  "cannotUseUsername": false,
  "useMinPasswordLength": true,
  "minPasswordLength": 8,
  "blockCommonPasswords": true,
  "useSymbol": false
}

Sample Response Payload returned by endpoint:

{
  "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,
  "minPasswordLength": 8,
  "numberOfPreviousPasswordsMaxVal": 6,
  "useMixedCase": false,
  "blockCommonPasswords": true,
  "sessionTimeoutLengthMinVal": 1,
  "sessionTimeoutLengthMaxVal": 120,
  "useSymbol": false
}