|Docs

railway delete

Permanently delete a Railway project.

Usage

railway delete [OPTIONS]

Aliases

  • railway rm
  • railway remove

Options

FlagDescription
-p, --project <ID|NAME>Project to delete
-y, --yesSkip confirmation dialog
--2fa-code <CODE>2FA code for verification (if 2FA is enabled)
--jsonOutput in JSON format

Examples

Interactive deletion

railway delete

Prompts you to select a project and confirm deletion.

Delete specific project

railway delete --project my-old-project

Skip confirmation

railway delete --project my-old-project --yes

With 2FA Code

railway delete --project my-project --yes --2fa-code 123456

Warning

This action is permanent and cannot be undone. All services, deployments, and data within the project will be deleted.