updateRestrictedWords

post

/ccadmin/v1/merchant/profilePolicies/updateRestrictedWords

Updates customer's specific restricted words not to be used as a password.

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : updateRestrictedWords_request
Nested Schema : add
Type: array
Array of words to add into customer's specific restricted words not to be used as a password.
Nested Schema : delete
Type: array
Array of words to delete from customer's specific restricted words not to be used as a password.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : updateRestrictedWords_response
Nested Schema : items
Type: array
Array of customer's specific restricted words not to be used as a password.
Example application/json

{
    "items":[
        "Admin123",
        "Password123"
    ]
}
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:

{
  "add": [
    "Admin123",
    "Password123"
  ],
  "delete": [
    "Password",
    "QWERTY123"
  ]
}

Sample Response Payload returned by endpoint:

{"items": [
  "Admin123",
  "Password123"
]}