PUT /v1/passwordPolicy
Update the current password policy.
Servers
- https://api.au.sumologic.com/api/
- https://api.ca.sumologic.com/api/
- https://api.de.sumologic.com/api/
- https://api.eu.sumologic.com/api/
- https://api.fed.sumologic.com/api/
- https://api.jp.sumologic.com/api/
- https://api.kr.sumologic.com/api/
- https://api.in.sumologic.com/api/
- https://api.sumologic.com/api/
- https://api.us2.sumologic.com/api/
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
rememberMfa |
Boolean | No |
If MFA should be remembered on the browser. Default value: true |
mustContainDigits |
Boolean | No |
If the password must contain digits. Default value: true |
mustContainUppercase |
Boolean | No |
If the password must contain upper case characters. Default value: true |
maxLength |
Integer | No |
The maximum length of the password. (Setting this to any value other than 128 is no longer supported; this field may be deprecated in the future.) Default value: 128 |
requireMfa |
Boolean | No |
If MFA should be required to log in. By default, this field is set to Default value: false |
mustContainLowercase |
Boolean | No |
If the password must contain lower case characters. Default value: true |
disallowWeakPasswords |
Boolean | No |
If weak passwords should be disallowed. By default, this field is set to Default value: false |
minUniquePasswords |
Integer | No |
The minimum number of unique new passwords that a user must use before an old password can be reused. Default value: 10 |
accountLockoutDurationInMins |
Integer | No |
The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Default value: 30 |
minLength |
Integer | No |
The minimum length of the password. Default value: 8 |
accountLockoutThreshold |
Integer | No |
Number of failed login attempts allowed before account is locked-out. Default value: 6 |
maxPasswordAgeInDays |
Integer | No |
Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Default value: 365 |
failedLoginResetDurationInMins |
Integer | No |
The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Default value: 10 |
mustContainSpecialChars |
Boolean | No |
If the password must contain special characters. Default value: true |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.