edit
Host
@PatchMapping(path = "/{" + HOST_IDENTIFIER_KEY + "}"
)
Endpoint used to edit an existing host
Return
the response as String
Parameters
sessionId
The identifier of the session
hostId
The identifier of the host
language
The language of the user who sent the request
payload
The payload of the request
{
"name" : "the name of the host" -> [String],
"host_address" : "the address of the host" -> [String]
-- OPTIONAL --
"ssh_user" : "the user of the SSH connection" -> [String],
"ssh_password" : "the password of the SSH connection" -> [String]
}
Content copied to clipboard