railway unlink
Remove the link between the current directory and a Railway project or service.
Usage
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
Removes the entire project link from the current directory.
Unlink service only
Keeps the project and environment link but removes the service association.
Skip confirmation
Useful for scripts and automation.