Update HA Groups from API

Cylindric

Member
Mar 5, 2021
7
1
6
48
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