How to update a user with REST API v2 knowing only the username?

How to update a user with REST API v2 knowing only the username?