domain_update
Modify domain configurations on railway-mcp to update target ports, adjust settings, or reconfigure endpoints. Requires domain ID and new port number for execution.
Instructions
[API] Update a domain's configuration
⚡️ Best for: ✓ Changing target ports ✓ Updating domain settings ✓ Reconfiguring endpoints
⚠️ Not for: × Changing domain names (delete and recreate instead) × TCP proxy configuration
→ Prerequisites: domain_list
→ Next steps: domain_list
→ Related: service_update
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | Yes | ID of the domain to update | |
targetPort | Yes | New port number to route traffic to |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "ID of the domain to update",
"type": "string"
},
"targetPort": {
"description": "New port number to route traffic to",
"type": "number"
}
},
"required": [
"id",
"targetPort"
],
"type": "object"
}