edit
Service
@PatchMapping(path = "/{" + SERVICE_IDENTIFIER_KEY + "}"
)
Endpoint used to edit an existing service to a host
Return
the response as String
Parameters
sessionId
The identifier of the session
hostId
The identifier of the host
serviceId
The identifier of the service
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