Update HA Groups from API

Cylindric

Member
Mar 5, 2021
7
1
6
47
Hi folks. Is it possible to edit an HA Group from the API? I can GET all groups from /api2/json/cluster/ha/groups, but I can't seem to PUT a different value for nodes with it, as it just complains that it's not implemented.

Basically, what I'd like to achieve is a way of editing a group so I can put a node into maintenance and have everything migrate off it.

thanks
 
Last edited:
you need to PUT /api2/json/cluster/ha/groups/{group} (where {group} is the group ID) - API viewer
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!