![]() |
REST API
17
REST API for Luna Network HSMs
|
This resource will reset the appliance to the settings created at the factory.
Note : Resetting services to factory defaults can affect connectivity and the operation of the HSM.
Specifies the name of the service.
Valid values: network,ssh,ntls,syslog,ntp,snmp,users,system,webserver,cluster,ismigration,ctc,all
Use: Required
JSON Schema:
Object
type:string
minLength: 3
maxLength: 12
pattern: ^(network|ssh|ntls|syslog|ntp|snmp|users|system|webserver|ctc|all|cluster|ismigration)$
Success
Returned when the input data does not conform to the required validation schema.
Critical Operation currently in Progress.
To reset a specific service
POST
https://1.2.3.4:8443/api/lunasa/config/factoryReset
{
"service": "ntls"
}
To reset all services
POST
https://1.2.3.4:8443/api/lunasa/config/factoryReset
{
"service": "all"
}
{
}