These docs are for v2. Click to read the latest docs for v3.

View password policy

Return the password policy for the current account. The current account is determined by the tokens in your API client. Administrators use this operation to set a user's password policy. Users who modify it need to run View password policy for a user profile.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Response

Response body
object
integer
required

The minimum number of characters with a different case. For example, a value of 1 means at least one letter needs to be uppercase if the rest are lowercase.

integer
required

The maximum allowed number of repeating characters.

integer
required

The minimum number of digits in a password.

integer
required

The minimum length of a password.

integer
required

The minimum number of letters in a password.

integer
required

The minimum number of non-alphabetic characters in a password.

integer
required

The minimum number of previous passwords to retain to prevent password reuse.

string
required

A unique identifier for a password policy.

integer

The number of days a password is valid.

Language
Authentication
URL