Change Webroot
kinsta.environments.webrootChange the webroot subfolder for a Kinsta environment. Specify the new path and optionally clear caches and refresh plugins.
Instructions
Change the webroot subfolder for an environment. Returns an operation_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | Yes | The environment ID | |
| web_root_subfolder | Yes | New webroot subfolder path | |
| clear_all_cache | No | Clear all caches after change | |
| refresh_plugins_and_themes | No | Refresh plugins and themes after change |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||