Change Webroot
kinsta_environments_webrootChange the webroot subfolder for a Kinsta environment to serve a different directory. Returns an operation_id to track the update.
Instructions
Change the webroot subfolder for an environment. Returns an operation_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | Yes | The environment ID | |
| clear_all_cache | No | Clear all caches after change | |
| web_root_subfolder | Yes | New webroot subfolder path | |
| refresh_plugins_and_themes | No | Refresh plugins and themes after change |