![]() |
REST API
17
REST API for Luna Network HSMs
|
Perform user password configuration related actions.
Users with the following role privileges can perform this command:
The identifier of the action to be performed.
Use: Required
JSON Schema:
Object type: string minLength: 6 maxLength: 7 pattern: ^(?:enable|disable)$
This parameter specifies the settings(expiryDays, history) that should be toggled.
Use: Not Required
JSON Schema:
Object
type: array
settingsToToggle: Object
type: string
minLength: 7
maxLength: 10
minItems: 1
maxItems: 2
pattern: ^(?:expiryDays|history)$
Success
Returned when the input data does not conform to the required validation schema.
Input parameters provided are invalid.
Specified action does not exist.
Failed to execute the action specified.
POST
https://1.2.3.4:8443/api/lunasa/user/config/password/actions/enable
{
"settingsToToggle": ["expiryDays", "history"]
}
{
}