update_application_pool
Update an existing application pool's configuration via Horizon REST API. If auto-update of file types is enabled, omit file_types because Horizon manages that list.
Instructions
Update an existing application pool's configuration.
Horizon returns supported_file_types_data with both its auto-discovered file_types and enable_auto_update_file_types=true, then rejects that combination on update ("file_types cannot be set when enable_auto_update_file_types is enabled", verified on 2606). So when auto-update is on, file_types is dropped here: Horizon manages that list itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Updated application pool specification. Retrieve the current config with get_application_pool, modify the relevant fields, and pass the result here. | |
| pool_id | Yes | Application pool ID — obtain from list_application_pools |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||