Update a password complexity policy
PUT/api/v1/PasswordComplexity
Replaces the settings of an existing password complexity policy, found by the ID in the body, and returns the updated policy. The name must not match another policy.
Permission required: Admin or App role.
Values for type: 0 = Password, 1 = Samaccountname.
Values for mustStartWith, mustEndWith: 0 = None, 1 = Lowercase, 2 = Uppercase, 4 = Numeric, 8 = Symbol, 16 = Space.
Request
Responses
- 200
- 400
- 404
The updated policy.
The name is already used by another policy, the name is missing, a value is out of range, or the update failed.
No policy has this ID.