service_update
Update a Service's command, port, size, health check or storage on the next deploy.
Update a Service’s command, port, size, health check or storage on the next deploy. Inspect with environment_pending_changes_show.
| Access | Consequential change; requires confirmation |
| Same as | blossom service:update |
Arguments
| Argument | Type | Description |
|---|---|---|
yes |
boolean | true once the person confirms. |
id |
string | Service id. Required. |
data |
object | Required. |
data.name |
string | — |
data.image |
[“string”, “null”] | Image override. |
data.command |
string | — |
data.entrypoint |
string | — |
data.stop_grace_period_seconds |
[“integer”, “null”] | Seconds before forced stop. Null uses 5. |
data.port |
integer | — |
data.publicly_exposed |
boolean | — |
data.desired_size |
integer | Replicas. |
data.enabled |
boolean | — |
data.health_check |
object | Readiness check. |
data.storage |
object | — |
data.resources |
object | Preset or custom resources. |
Example
{"id":"service-100","data":{"command":"web"},"yes":true}