Skip to main content

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​

The created policy.