RailwayDocs

railway unlink

Remove the link between the current directory and a Railway project or service.

Usage

Options

FlagDescription
-s, --serviceUnlink only the service (keep project link)
-y, --yesSkip confirmation prompt
--jsonOutput in JSON format

Examples

Removes the entire project link from the current directory.

Keeps the project and environment link but removes the service association.

Skip confirmation

Useful for scripts and automation.