R
Railway14mo ago
Codeize

Is it possible to shut off a project via the API?

Hi there. Looking to shut off my project via the API using a 'kill-switch' in my application. Is this possible? Thanks.
Solution:
not possible to shut off or pause a service, but you can remove the latest deployment with the API have a look at the public api docs here https://docs.railway.app/reference/public-api and you can look at the schema in the playground here...
Jump to solution
2 Replies
Percy
Percy14mo ago
Project ID: N/A
Solution
Brody
Brody14mo ago
not possible to shut off or pause a service, but you can remove the latest deployment with the API have a look at the public api docs here https://docs.railway.app/reference/public-api and you can look at the schema in the playground here https://railway.app/graphiql