Railway

variable_delete

[API] Delete a variable for a service in a specific environment ⚡️ Best for: ✓ Removing unused configuration ✓ Security cleanup ✓ Configuration management ⚠️ Not for: × Temporary variable disabling × Bulk variable removal → Prerequisites: service_list → Next steps: deployment_trigger, service_restart → Related: variable_list, variable_set

Remote mh8974/railway-mcp

Remote (network-hosted)

Other tools also called variable_delete? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the variable to delete"
    },
    "projectId": {
      "type": "string",
      "description": "ID of the project"
    },
    "serviceId": {
      "type": "string",
      "description": "ID of the service (optional, if omitted deletes a shared variable)"
    },
    "environmentId": {
      "type": "string",
      "description": "ID of the environment to delete the variable from (usually obtained from service_list)"
    }
  }
}
          

Provider

Railway →