railway delete
Permanently delete a Railway project.
Usage
railway delete [OPTIONS]Aliases
railway rmrailway remove
Options
| Flag | Description |
|---|---|
-p, --project <ID|NAME> | Project to delete |
-y, --yes | Skip confirmation dialog |
--2fa-code <CODE> | 2FA code for verification (if 2FA is enabled) |
--json | Output in JSON format |
Examples
Interactive deletion
railway deletePrompts you to select a project and confirm deletion.
Delete specific project
railway delete --project my-old-projectSkip confirmation
railway delete --project my-old-project --yesWith 2FA Code
railway delete --project my-project --yes --2fa-code 123456Warning
This action is permanent and cannot be undone. All services, deployments, and data within the project will be deleted.