Create a password complexity policy
POST/api/v1/PasswordComplexity
Creates a password complexity policy and returns it with its new ID. The name must not match the name of an existing policy, ignoring case.
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
The created policy.
A policy with the same name already exists, the name is missing, a value is out of range, or the policy could not be created.