![]() |
REST API
17
REST API for Luna Network HSMs
|
Modifies the service attributes.
Users with the following role privileges can perform this command:
The identifier of the service of interest. Valid Values: cbs, lsta, network, ntls, ntp, syslog, snmp, ssh, stc, sysstat, webserver, cluster, ismigration, ctc, clusteradmin.
Use: Required
JSON Schema:
Object
type: string
minLength: 1
maxLength: 32
pattern: ^[a-zA-Z0-9_.-]+$
This parameter specifies the onBoot option for the service.
Use: Required
JSON Schema:
Object
type:boolean
Success
Returned when the input data does not conform to the required validation schema.
Unexpected error
Service does not exist
PATCH
https://1.2.3.4:8443/api/lunasa/services/stc
{
"onBoot" : true
}
{
}
For ctc service, it will enable/disable the service for the active interfaces.