---
title: "Deactivate routing rule"
method: POST
path: "/routing/deactivate"
tags: ["Routing Rules"]
---

# Deactivate routing rule

`POST /routing/deactivate`

Deactivate an active routing rule mapping by routing algorithm ID for a merchant. The call is idempotent: if the algorithm exists but is already inactive for the merchant, the API returns success.

## Request body

- DeactivateRoutingRuleRequest
  - `created_by` string, required
  - `routing_algorithm_id` string, required

## Response `200`

Rule deactivated. The response body is empty.

## Other responses

- `400` — Routing algorithm ID was not found.

---

[API](https://skmtc.net/juspay/apis/decision-engine.md) · [All operations](https://skmtc.net/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/juspay/decision-engine/versions/36e7a0972ee6/schema)
