Skip to main content
Update an app by ID or slug. The name, slug, default branch, and delete protection can be changed. Omitted fields remain unchanged. A new slug must not collide with another app in the project.

Usage

Flags

string
required
Project ID or slug.
string
required
App ID or slug.
string
New human-readable name. Omit to leave unchanged.
string
New app slug. Omit to leave unchanged.
string
New default git branch deployments track. Omit to leave unchanged.
bool
Enable or disable delete protection. Omit to leave unchanged.

Global Flags

Examples

See the API reference.
Last modified on July 23, 2026