handle Host Status

suspend fun handleHostStatus(host: SavedHost, newStatus: HostStatus): JsonObject

Request to handle the status of a host

Return

the response of the request as JsonObject

Parameters

host

The host to handle its status

newStatus

The status to set