add
Service
@PutMapping
Endpoint used to add a service to a host
Return
the response as String
Parameters
sessionId
The identifier of the session
hostId
The identifier of the host
language
The language of the user who sent the request
payload
The payload of the request
{
"name" : "the name of the service" -> [String],
"configuration": {
"program_arguments": "The arguments of the program" -> [String],
"purge_nohup_out_after_reboot": true/false -> [boolean],
"auto_run_after_host_reboot": true/false -> [boolean]
}
}
Content copied to clipboard