Skip to main content
Update an app by ID or slug. You can change its name, slug, GitHub repository configuration, and delete protection. 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.
JSON string
Connect or reconfigure a GitHub repository with repository and defaultBranch fields. Set the value to null to disconnect the repository.
bool
Enable or disable delete protection. Omit to leave unchanged.

Global Flags

Examples

See the API reference.
Last modified on August 25, 2026