cURL
curl --request PUT \ --url https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/password_strength_config \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "check_breach_on_creation": true, "check_breach_on_authentication": true, "validate_on_authentication": true, "validation_policy": "ZXCVBN", "luds_min_password_length": 123, "luds_min_password_complexity": 123 } '
{ "request_id": "<string>", "password_strength_config": { "check_breach_on_creation": true, "check_breach_on_authentication": true, "validate_on_authentication": true, "validation_policy": "ZXCVBN", "luds_min_password_length": 123, "luds_min_password_complexity": 123 }, "status_code": 123 }
Set updates the password strength configuration for an environment.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Request type
ZXCVBN
LUDS
Successful response
Response type
Show child attributes