Regarding the CLI shortcuts

The command "railway down --yes" can only delete the most recently deployed service. If you want to delete a specific service, how can you achieve that? Or if you want to delete all services, I couldn't find these commands in the documentation. Additionally, can I use the API to create or delete services? What are the relevant commands for that?
2 Replies
Percy
Percy2y ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Brody
Brody2y ago
If you want to delete a specific service, how can you achieve that?
the API
if you want to delete all services
the API
Additionally, can I use the API to create or delete services?
yes
What are the relevant commands for that?
you can check out the documentation for the API here https://docs.railway.app/reference/public-api and you can look through the API schema and play around with the API through the playground here https://railway.app/graphiql
Want results from more Discord servers?
Add your server