---
title: blossom app:update
url: "/docs/reference/cli/app/update/"
canonical_url: https://docs.blossom88.com/docs/reference/cli/app/update/
markdown_url: https://docs.blossom88.com/docs/reference/cli/app/update.md
summary: Update an app
categories:
- cli
- reference
---

# blossom app:update

Update an app

## Usage

    blossom app:update --id ID [--data DATA]

## Flags

| Flag | Description |
| --- | --- |
| `--id (required)` | App id |
| `--data, -d` | YAML or JSON data, a path to a data file, or an HTTP(S) URL |

Examples:

    blossom app:update --id app-100 --data app.yml
    blossom app:update --id app-100 -d '{"app":{"name":"production"}}'

app.yml:

```yaml
app:
  name: production
```

Updates an app in the current Blossom Account. `--id` identifies the existing
app. Mutable fields such as the app name live under the same `app`
key in `--data`.

Do not include `app.id` in the data file. The id belongs in `--id`; the
payload contains the fields to change.

Use `app:show` before or after an update when you want to check the
current resource state:

    blossom app:show --id app-100

Full guide:
https://docs.blossom88.com/learn/getting-started/apps/
