railway unlink
Remove the link between the current directory and a Railway project or service.
Usage
railway unlink [OPTIONS]Options
| Flag | Description |
|---|---|
-s, --service | Unlink only the service (keep project link) |
-y, --yes | Skip confirmation prompt |
--json | Output in JSON format |
Examples
Unlink project
railway unlinkRemoves the entire project link from the current directory.
Unlink service only
railway unlink --serviceKeeps the project and environment link but removes the service association.
Skip confirmation
railway unlink --yesUseful for scripts and automation.