![]() |
REST API
14
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: 12 pattern: '^[a-z]*$'
This parameter specifies the onBoot option for the service.
Use: Required
JSON Schema:
Object type:boolean
Success
Unexpected error
Service does not exist
PUT 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.