Skip to main content

delete-app

Delete an existing app
1 min read

Delete an existing app by ID or slug. Deletion is asynchronous and eventually consistent. Apps with delete protection enabled cannot be deleted until protection is disabled.

Usage#

Flags#

--projectstringrequired#
Project ID or slug.
--appstringrequired#
App ID or slug.

Global Flags#

FlagTypeDescription
--root-keystringOverride root key ($UNKEY_ROOT_KEY)
--api-urlstringOverride API base URL (default: https://api.unkey.com)
--configstringPath to config file (default: ~/.unkey/config.toml)
--outputstringOutput format. Use json for raw JSON
--bodystringSend this JSON string as the request body. You cannot combine it with request-building flags.

Examples#

See the API reference.