Security Settings
get
GET /api/v2/settings/security HTTP/1.1
HTTP/1.1 200 OK
{
"passwordStrengthValidator" : "WEAK",
"daysDelayChangePasswordStrength" : 0,
"passwordLifetimeRule" : "INFINITY",
"lifetimeDays" : null,
"notifyBeforeDays" : null
}
Path | Type | Description |
---|---|---|
|
|
Password strength validator |
|
|
Password strength change delay |
|
|
Password life time rule |
|
|
Lifetime days |
|
|
Notify before days |
get password validator types array
GET /api/v2/settings/security/password/validator-types HTTP/1.1
HTTP/1.1 200 OK
[ "WEAK", "STRONG" ]
Path | Type | Description |
---|---|---|
|
|
array of password validator types |
get password lifetime rules array
GET /api/v2/settings/security/password/lifetime-rules HTTP/1.1
HTTP/1.1 200 OK
[ "INFINITY", "PERIODICAL" ]
Path | Type | Description |
---|---|---|
|
|
array of password life time rules |
create
POST /api/v2/settings/security HTTP/1.1
{
"passwordStrengthValidator" : "WEAK",
"daysDelayChangePasswordStrength" : null,
"passwordLifetimeRule" : "INFINITY",
"lifetimeDays" : null,
"notifyBeforeDays" : null
}
Path | Type | Description | Constraints |
---|---|---|---|
passwordStrengthValidator |
String |
Password strength validator |
|
passwordStrengthChangeDelay |
Number |
Password strength change delay |
|
passwordLifetimeRule |
String |
Password life time rule |
|
lifetimeDays |
Number |
Lifetime days |
|
notifyBeforeDays |
Number |
Notify before days |
HTTP/1.1 200 OK
{
"passwordStrengthValidator" : "WEAK",
"daysDelayChangePasswordStrength" : 0,
"passwordLifetimeRule" : "INFINITY",
"lifetimeDays" : null,
"notifyBeforeDays" : null
}
Path | Type | Description |
---|---|---|
|
|
Password strength validator |
|
|
Password strength change delay |
|
|
Password life time rule |
|
|
Lifetime days |
|
|
Notify before days |