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

# SetRuleName

`POST /api/RulesEngine/SetRuleName`

## Request

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

Use this call to rename a rule.
<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

- RulesEngineSetRuleNameRequest
  - `pkRuleId` integer: The rule id
  - `ruleName` string: The new name for the rule

## Response `204`

No Content

---

[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)
