Update profile info using API

Hi there. I’m running openedx palm 3 with tutor and I need to update user profile info via API. I found this endpoint for this purpose: api/user/v1/accounts/{username}. The only problem is that this endpoint is accepting requests only from the account owner and no one else, not even the superusers. So how can I update user info via API with a superuser account?