handle
Service
Status
suspend fun handleServiceStatus(hostId: String, service: HostService, newStatus: ServiceStatus): JsonObject
Request to handle the status of a service
Return
the response of the request as JsonObject
Parameters
host Id
The host identifier
service
The service to handle its status
new Status
The status to set