I am trying to update user email via the Management API, but I get error code 400 with
"Sandbox Error: Not authorized" response.
I first get the token with
Then I use it to update user:
Note that if I use the same request but for password instead of email it works:
I am not sure what I am missing the Management API has the following scopes enabled for the application:
Can someone help?
I also get the same error when I try to change the email via the Dashboard: