register Host

suspend fun registerHost(hostName: String, hostAddress: String, sshUser: String, sshPassword: String): JsonObject

Request to register a new host

Return

the response of the request as JsonObject

Parameters

hostName

The name of the host

hostAddress

The address of the host

sshUser

The user used in the SSH connection

sshPassword

The password used in the SSH connection