---
title: "SetDraftLive"
method: POST
path: "/api/RulesEngine/SetDraftLive"
tags: ["RulesEngine"]
---

# SetDraftLive

`POST /api/RulesEngine/SetDraftLive`

## Request

- Base URL: `https://eu-ext.linnworks.net`
- URL: `https://eu-ext.linnworks.net/api/RulesEngine/SetDraftLive`
- Auth: API key in header `Authorization`

Use this call to set a draft rule live (if the draft is a copy for editing an existing rule, the existing rule will be deleted and the draft promoted).
<b>Permissions Required: </b> GlobalPermissions.OrderBook.RulesEngineNode
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- RulesEngineSetDraftLiveRequest
  - `pkRuleId` integer: The id of the draft rule.

## Response `200`

OK

- integer

---

[API](https://skmtc.dev/linnworks/apis/rules-engine-api.md) - [All operations](https://skmtc.dev/linnworks/apis/rules-engine-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linnworks/apis/rules-engine-api/revisions/52df4ad3d247?raw)
