When updating a user’s username via Management API v2, but am receiving an error. I have a custom database with username required selected. For what it’s worth, updating the email address with the same endpoint is working fine.
REQUEST:
PATCH https://{tenant}.auth0.com/api/v2/users/{user_id}
{
“username”: “vaseki1”,
“connection”: “Username-Password-Authentication”
}
RESPONSE:
{
“statusCode”: 400,
“error”: “Bad Request”,
“message”: “get_user script does not exist”,
“errorCode”: “auth0_idp_error”
}