The Proxmox VE management tool (pvesh) allows to directly invoke API function, without using the REST/HTTPS server.

Note Only root is allowed to do that.

EXAMPLES

Get the list of nodes in my cluster

# pvesh get /nodes

Get a list of available options for the datacenter

# pvesh usage cluster/options -v

Set the HTMl5 NoVNC console as the default console for the datacenter

# pvesh set cluster/options -console html5