---
title: "Activate routing rule"
method: POST
path: "/routing/activate"
tags: ["Routing Rules"]
---

# Activate routing rule

`POST /routing/activate`

Activate a routing rule by ID for a merchant. Only one rule can be active at a time — activating a new rule deactivates the previous one.

## Request body

- ActivateRoutingRuleRequest
  - `created_by` string, required
  - `routing_algorithm_id` string, required

## Response `200`

Rule activated. The response body is empty.

## Changes

> 13 revisions in range; 1 could not be searched.

- **2026-04-27** `c88bc05bf169` — 1 breaking
  - removed the media type `application/json` for the response with the status `200`
- **2026-04-25** `986e537b0455` — 2 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - the endpoint scheme security `BearerAuth` was added to the API
- **2026-04-10** `9618544de91a` — 3 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - the endpoint scheme security `BearerAuth` was removed from the API
  - added the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/juspay/apis/decision-engine/changes/routing/activate/post.md)

---

[API](https://skmtc.dev/juspay/apis/decision-engine.md) · [All operations](https://skmtc.dev/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/juspay/decision-engine/revisions/a35ceeb59faf/schema)
