Skip to content

Update password policies.

Request

Security
ApiKeyAuth
Bodyapplication/jsonrequired

The parameters to update the password policies.

enabledboolean

True if password policies are enforced/enabled.

Default:true
Example:false
min_lengthinteger, >= 0

Minimum length for password.

Default:15
Example:8
reuse_disallow_limitinteger, [ 0 .. 20 ]

The password can not be the same as any of the previous n passwords.

Default:2
Example:3
digitboolean

Mandate at least one digit in password.

Default:true
Example:false
uppercase_letterboolean

Mandate at least one uppercase letter in password.

Default:true
Example:false
lowercase_letterboolean

Mandate at least one lower letter in password.

Default:true
Example:false
special_characterboolean

Mandate at least one special character in password.

Default:true
Example:false
disallow_username_as_passwordboolean

Disallows password containing case-insensitive user name or reversed user name.

Default:true
Example:false
maximum_password_attemptsinteger, [ 0 .. 100 ]

The number of allowed attempts for incorrect password, after which the account gets locked.

Default:5
Example:3
curl -i -X PATCH \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-data/22.0.0/continuous-data-apis-dct-22.0.0/management/accounts/password-policies \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "enabled": false,
    "min_length": 8,
    "reuse_disallow_limit": 3,
    "digit": false,
    "uppercase_letter": false,
    "lowercase_letter": false,
    "special_character": false,
    "disallow_username_as_password": false,
    "maximum_password_attempts": 3
  }'

Responses

OK

Bodyapplication/json
enabledboolean

True if password policies are enforced/enabled.

Default:true
Example:false
min_lengthinteger, >= 0

Minimum length for password.

Default:15
Example:8
reuse_disallow_limitinteger, [ 0 .. 20 ]

The password can not be the same as any of the previous n passwords.

Default:2
Example:3
digitboolean

Mandate at least one digit in password.

Default:true
Example:false
uppercase_letterboolean

Mandate at least one uppercase letter in password.

Default:true
Example:false
lowercase_letterboolean

Mandate at least one lower letter in password.

Default:true
Example:false
special_characterboolean

Mandate at least one special character in password.

Default:true
Example:false
disallow_username_as_passwordboolean

Disallows password containing case-insensitive user name or reversed user name.

Default:true
Example:false
maximum_password_attemptsinteger, [ 0 .. 100 ]

The number of allowed attempts for incorrect password, after which the account gets locked.

Default:5
Example:3
Response
{ "enabled": false, "min_length": 8, "reuse_disallow_limit": 3, "digit": false, "uppercase_letter": false, "lowercase_letter": false, "special_character": false, "disallow_username_as_password": false, "maximum_password_attempts": 3 }