Security Settings

get

request
GET /api/v2/settings/security HTTP/1.1
response
HTTP/1.1 200 OK

{
  "passwordStrengthValidator" : "WEAK",
  "daysDelayChangePasswordStrength" : 0,
  "passwordLifetimeRule" : "INFINITY",
  "lifetimeDays" : null,
  "notifyBeforeDays" : null
}
Table 320. response description
Path Type Description

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

get password validator types array

request
GET /api/v2/settings/security/password/validator-types HTTP/1.1
response
HTTP/1.1 200 OK

[ "WEAK", "STRONG" ]
Table 321. response description
Path Type Description

[]

Array

array of password validator types

get password lifetime rules array

request
GET /api/v2/settings/security/password/lifetime-rules HTTP/1.1
response
HTTP/1.1 200 OK

[ "INFINITY", "PERIODICAL" ]
Table 322. response description
Path Type Description

[]

Array

array of password life time rules

create

request
POST /api/v2/settings/security HTTP/1.1

{
  "passwordStrengthValidator" : "WEAK",
  "daysDelayChangePasswordStrength" : null,
  "passwordLifetimeRule" : "INFINITY",
  "lifetimeDays" : null,
  "notifyBeforeDays" : null
}
Table 323. request description
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

response
HTTP/1.1 200 OK

{
  "passwordStrengthValidator" : "WEAK",
  "daysDelayChangePasswordStrength" : 0,
  "passwordLifetimeRule" : "INFINITY",
  "lifetimeDays" : null,
  "notifyBeforeDays" : null
}
Table 324. response description
Path Type Description

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