...
Use these calls:
- curl -X PUT -H "Authorization: bearer $TOKEN" -i 'http://localhost:8087/auth/admin/realms/{realm}/users/{id}/groups/{groupId}'
- curl -X DELETE X DELETE -H "Authorization: bearer $TOKEN" -i 'http://localhost:8087/auth/admin/realms/{realm}/users/{id}/groups/{groupId}'
...