|Docs

railway down

Delete the most recent successful deployment of a service.

Usage

railway down [OPTIONS]

Options

FlagDescription
-s, --service <SERVICE>Service to remove deployment from (defaults to linked service)
-e, --environment <ENV>Environment to remove deployment from (defaults to linked environment)
-y, --yesSkip confirmation dialog

Examples

Remove latest deployment

railway down

Remove from specific service

railway down --service backend

Skip confirmation

railway down --yes

Behavior

This command removes only the latest successful deployment. The service itself is not deleted, and you can deploy again with railway up.