Unpublish a dynamic route
undeploy_dynamic_routeClears only the current active version pointer. The draft and immutable version history are preserved. Optional expected_route_uuid and expected_active_version_number protect the identity and live pointer; zero means already unpublished. A positive expected version conflicts when the route is now unpublished. Use a fresh idempotency_key per new operation and retry identical arguments only; replays return the original affected version without clearing any newer deployment. data is the current observational route detail. Requires the dynamic_routes:write scope.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "undeploy_dynamic_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Route name | |
| idempotency_key | No | Unique undeploy operation identifier. A replay returns the original affected version without clearing a newer deployment. | |
| expected_route_uuid | No | Optional route identity precondition; a recycled route name does not satisfy it. | |
| expected_active_version_number | No | Optional active version precondition; zero means already unpublished. A stale positive version returns 409 even when the route is now unpublished. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No |