If we can hide/remove sections using shopify api not from the theme editor? If so, how?
Just use Asset API to upload the liquid file with the latest settings
Is there any api end point that tells if the theme is compatible with shopify store 2.0 apart from verifying the json format using Asset api?
I think you have to check for json template: https://shopify.dev/themes/migration