remove Service

suspend fun removeService(hostId: String, serviceId: String, removeFromTheHost: Boolean = false): JsonObject

Request to delete the service

Return

the response of the request as JsonObject

Parameters

hostId

The identifier of the host

serviceId

The identifier of the service

removeFromTheHost

Whether the removing include also the removing from the filesystem of the host