service_delete
Remove unused or test services from a project in Railway-MCP. Use this tool to delete services permanently during project reorganization. Requires project and service IDs for operation.
Instructions
[API] Delete a service from a project
⚡️ Best for: ✓ Removing unused services ✓ Cleaning up test services ✓ Project reorganization
⚠️ Not for: × Temporary service stoppage (use service_restart) × Updating service configuration (use service_update)
→ Prerequisites: service_list, service_info
→ Alternatives: service_restart
→ Related: project_delete
Input Schema
Name | Required | Description | Default |
---|---|---|---|
projectId | Yes | ID of the project containing the service | |
serviceId | Yes | ID of the service to delete |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"projectId": {
"description": "ID of the project containing the service",
"type": "string"
},
"serviceId": {
"description": "ID of the service to delete",
"type": "string"
}
},
"required": [
"projectId",
"serviceId"
],
"type": "object"
}