We need to set up multiple environments. Auth0 advises that we set up separate tenants for each environment.
Obviously copying all the configuration from one tenant to another would be time-consuming, and greatly increase the risk of unintended inconsistencies across environments.
The Auth0 docs advise “Through the Management API v2, you can automate the migration of assets (rules, database connections, and so forth) between tenants.” However, there is no additional guidance beyond that one sentence. Can someone from the Auth0 team provide sample code for this type of automated migration?