account_update
Change this Account's default Location, maintenance window, or the maintenance page visitors see.
Change this Account’s default Location, maintenance window, or the maintenance page visitors see. Advanced: set the CPU architecture for new Locations.
| Access | Changes Blossom |
| Same as | blossom account:update |
Arguments
| Argument | Type | Description |
|---|---|---|
data |
object | Only the fields to change. Required. |
data.default_location_id |
string | Location id. |
data.default_arch |
string | Advanced default for new Locations only. x86 is the default; ARM requires a supported destination. Existing Locations keep their architecture. One of: x86, arm. |
data.data_server_optimization_enabled |
boolean | Opt into Shared Database and Redis Cache interruptions of several minutes to use cheaper Hetzner Servers. Respects a preferred maintenance window when set; otherwise moves may start as cheaper supply appears. Defaults off. |
data.maintenance_window_start_time |
string | Start, such as 02:00. |
data.maintenance_window_duration_minutes |
integer | — |
data.maintenance_window_time_zone |
string | Time zone, such as America/Los_Angeles. |
data.maintenance_page_html |
string | What visitors see while an Environment is in maintenance: one complete HTML file, up to 256 KB, with images and styles inside it or at full https:// addresses. An empty string returns to Blossom’s page. |
Example
{"data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}