infomiho
PROOP
6 months ago
We are writing a testing script to test one command deploys with Wasp in the CI. I'd like to clean up after creating a one off project with some services. Is it possible to delete projects with the CLI / API like in the Dashboard?
2 Replies
For anyone else looking, you can use the GraphQL API directly like this:
curl --request POST \
--url https://backboard.railway.com/graphql/v2 \
--header "Authorization: Bearer $RAILWAY_API_TOKEN" \
--header 'Content-Type: application/json' \
--data "{\"query\":\"mutation projectDelete { projectDelete(id: \\\"$project_id\\\") }\"}"6 months ago
!s
Status changed to Solved brody • 6 months ago