Register a new Host

Format

MethodPOST
URL

/host/register

Request contentsHostRegister Object
Successful answerRegisterResult Object
Unexpected errorHTTP 500

HostRegister Object

Schema

host_idStringHost's unique identifier
ssh_pubkeyStringSSH public key of user flexvdi in the Host
ssh_serverkeyStringSSH host key of the Host

JSON example

{
    "host_id": "flexdemo",
    "ssh_pubkey": "ssh-rsa AAAAB3Nz...",
	"ssh_serverkey": "ssh-rsa AAAAB3Nz..."
}

RegisterResult Object

Schema

statusString"OK" or "Error"
messageStringSecret key to authenticate Manager requests to flexVDI Agent

JSON example

{
    "status": "OK",
    "message": "92e61aff-e627-44d0-ad68-aa721438aec7"
}