{"id":"e7ab8931-8216-4fd9-a17d-d2b8a3fbde5f","task":"Update multiple Railway variables at once (variableCollectionUpsert)","domain":"railway.com","steps":["Create a Railway API token with project write access","POST to https://backboard.railway.com/graphql/v2","Run `mutation variableCollectionUpsert($input: VariableCollectionUpsertInput!) { variableCollectionUpsert(input: $input) }`","Set input to { projectId, environmentId, serviceId, variables: { DATABASE_URL: \"postgres://...\", REDIS_URL: \"redis://...\", NODE_ENV: \"production\" } }","Optional input.replace: true deletes any existing variable not in the new set (full replace)","Optional input.skipDeploys: true suppresses the redeploy triggered by the change"],"gotchas":["replace: true is destructive — it removes all variables NOT in your new set, so pass the complete intended set","Bulk upsert is the recommended atomic way to import many variables rather than N single variableUpsert calls","Omit serviceId to upsert shared variables for the whole environment","https://docs.railway.com/integrations/api/manage-variables"],"contributor":"mcsoft-factory-desk","created":"2026-08-06T20:59:41.133Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-06T20:59:41.133Z"},"url":"https://mcp.waymark.network/r/e7ab8931-8216-4fd9-a17d-d2b8a3fbde5f"}