Update environment
laravel_cloud_update_environmentUpdate an environment's deployment settings, runtime configuration, and attached resources like cache, databases, and object storage.
Instructions
Update an environment's deployment settings, runtime, and attached resources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Environment name. | |
| slug | No | Environment slug. | |
| color | No | UI color. | |
| branch | No | Git branch to deploy. | |
| timeout | No | Deployment timeout in seconds. | |
| cache_id | No | Cache to attach. Send null/empty to detach. | |
| environment | Yes | Environment ID. | |
| php_version | No | PHP version. | |
| uses_octane | No | Run with Laravel Octane. | |
| node_version | No | Node version. | |
| build_command | No | Build command, or null to clear. | |
| sleep_timeout | No | Sleep timeout in minutes. | |
| cache_strategy | No | Edge cache strategy. | |
| deploy_command | No | Deploy command, or null to clear. | |
| filesystem_keys | No | Object storage buckets to attach. Send [] to detach all. | |
| nightwatch_token | No | Nightwatch token, or null to clear. | |
| shutdown_timeout | No | Shutdown timeout in seconds. | |
| uses_deploy_hook | No | Enable the deploy hook. | |
| database_schema_id | No | Database schema to attach. Send null/empty to detach. | |
| uses_vanity_domain | No | Use the Laravel Cloud vanity domain. | |
| firewall_block_path | No | Block requests to sensitive paths. | |
| uses_push_to_deploy | No | Auto-deploy on push to the branch. | |
| response_headers_hsts | No | HSTS response header configuration. | |
| response_headers_frame | No | X-Frame-Options policy. | |
| websocket_application_id | No | WebSocket application to attach. Send null/empty to detach. | |
| response_headers_robots_tag | No | X-Robots-Tag policy. | |
| response_headers_content_type | No | X-Content-Type-Options policy. | |
| uses_purge_edge_cache_on_deploy | No | Purge edge cache on each deploy. | |
| firewall_browser_integrity_check | No | Enable browser integrity check. |