I have just checked your tenant logs and it seems that you were able to successfully update the user. I couldn’t find any logs indicating a failed event.
However, I have attached a code snippet that worked for me to update a user using the Management API. Could you please give it a try and see if it works for you?
const axios = require('axios');
let data = JSON.stringify({
"email": "test-user@example.com",
"given_name": "test-given-name",
"family_name": "test-family-name",
"name": "test-name"
});
let config = {
method: 'patch',
maxBodyLength: Infinity,
url: 'https://YOUR_DOMAIN.REGION.auth0.com/api/v2/users/{USER_ID}',
headers: {
'Authorization': 'Bearer {YOUR_MANAGEMENT_API_TOKEN}',
'Content-Type': 'application/json'
},
data : data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
If you are still encountering issues, could you please share the exact steps and code you used?
If Left(http.Status, 1) = 2 Then
'Request succeeded with a HTTP 2xx response, do something…
Else
'Output error
Call Response.Write("Server returned: " & http.Status & " " & http.StatusText)
End If