Update user role on a project thru API

Update user role on a project thru API

How do I update the role of a user on a project? Currently I can add a user on to a project using the “POST  /portal/[PORTALID]/projects/[PROJECTID]/users/” API, but don’t see a way to update a role of an existing user on a project.