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

# SetDraftLive

`POST /api/RulesEngine/SetDraftLive`

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.net/linnworks/apis/authenticate-api.md) · [All operations](https://skmtc.net/linnworks/apis/authenticate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linnworks/authenticate-api/versions/0123569a22fb/schema)
