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

hostId

The host identifier

service

The service to handle its status

newStatus

The status to set