App_metadata not merged but replaced

Hi @mihai.iordache,

Welcome to the Auth0 Community!

To clarify, if a user had the following app_metadata:

{
  "app_metadata": {
    "foo": "bar"
  }
}

And you sent a request with a body of:

{
  "app_metadata": {}
}

You would expect this as the result:

{
  "app_metadata": {
    "foo": "bar"
  }
}

Can you confirm this is what you are expecting? Also, in what scenario would you send an empty object like that? Why not omit it entirely?