How do I assign role for new user using Rest API, what end point do I have to use for assigning roles to a particular user?

After Creating a new user in SugarCRM, In the Access Tab we assign the User a Role. How do we do that using Rest API. which Endpoint helps here ?