Try using the /private/cli ... here's an example in PowerShell v7. With the /private/cli method, you need to specify the fields you want in the output (fields=* does not work). This is using ALL the field names so edit as needed.
$url = "https://{clusterip}/api/private/cli/cluster/ring?fields=node,unitname,online,epoch,master,local,db-epoch,db-trnxs,num-online,rdb-uuid"
$result = Invoke-RestMethod -Method Get -Uri $url -Credential (Get-Credential) -SkipCertificateCheck
$result.records | ft
Output:
node unitname online epoch master local db_epoch db_trnxs num_online rdb_uuid
---- -------- ------ ----- ------ ----- -------- -------- ---------- --------
ots1-01 mgmt master 1 ots1-01 ots1-01 1 13278 1 9c6409c3-188f-11ee-af15-00a0b8e7b055
ots1-01 vldb master 1 ots1-01 ots1-01 1 190 1 9c6409c3-188f-11ee-af15-00a0b8e7b055
ots1-01 vifmgr master 1 ots1-01 ots1-01 1 192 1 9c6409c3-188f-11ee-af15-00a0b8e7b055
ots1-01 bcomd master 1 ots1-01 ots1-01 1 248 1 9c6409c3-188f-11ee-af15-00a0b8e7b055
ots1-01 crs master 1 ots1-01 ots1-01 1 46 1 9c6409c3-188f-11ee-af15-00a0b8e7b055