domain_delete
Remove a domain from a service using the API in Railway MCP. Use this tool to delete unused domains and clean up configurations. Requires the domain ID for operation.
Instructions
[API] Delete a domain from a service
⚡️ Best for: ✓ Removing unused domains ✓ Cleaning up configurations ✓ Domain management
⚠️ Not for: × Temporary domain disabling × Port updates (use domain_update)
→ Prerequisites: domain_list
→ Alternatives: domain_update
→ Related: service_update
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | Yes | ID of the domain to delete |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "ID of the domain to delete",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}