remove Service

@DeleteMapping(path = "/{" + SERVICE_IDENTIFIER_KEY + "}" )
open fun removeService(@PathVariable(value = "id") sessionId: String, @PathVariable(value = "host_id") hostId: String, @PathVariable(value = "service_id") serviceId: String, @RequestParam(value = "language", required = false, defaultValue = "en") language: String, @RequestParam(value = "remove_from_the_host", required = false, defaultValue = "false") removeFromTheHost: Boolean): String

Endpoint used to remove a service

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

removeFromTheHost

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