SOLUTION
Example (add roles user and power):
"curl -X POST -u admin:password -k https ://servername:8089/servicesNS/-/admin/LDAP-groups/endpointgoeshere%2usersnametoedit -d roles = user -d roles = power"
To remove all roles you would just leave the " -d roles = " part blank.
... View more