Skip to main content

delete-project

Delete an existing project
1 min read

Delete a project by ID or slug. Deletion is asynchronous and eventually consistent. Projects with delete protection enabled cannot be deleted until protection is disabled.

Usage#

Flags#

--projectstringrequired#
Project 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.