Upsert app_metadata with the User Import API and Merging app_metadata
Last Updated:
Overview
The user update management API merges the existing top-level attributes of app metadata. E.g., if app1 exists, updating the user for app2 generates an app_metadata like the following;
app_metadata: {
"app1": { "key1": "value1", "key2": "value2" },
"app2": { "key3": "value3", "key4": "value4" }
}
Does the Upsert option of the user import management API merge the app_metadata at the top-level attributes similar to this API?
Applies To
- Management API
Solution
If the existing app metadata of the users has to be preserved, exporting the users and merging them with the import file is required before running the import.