Rule Books

Edit Rule

A merge patch over the rule's content in the draft: each field sent replaces the stored one. Opens the draft if needed. The edited rule needs confirming again.

patch/v1/rule-books/{rule_book_id}/draft/rules/{rule}

Request

  • Base URL
    https://api.sandbox.usenash.com
  • Auth
    none declared

Path parameters

rule_book_idstring required

The rule book id (rbk_…).

rulestring required

The rule's id (rul_…), key or alias.

Request body

namestring nullable
in_nash'must' | 'aim_for' | 'report' | 'not_in_nash'

How Nash plans with a rule. Must is never broken, Aim for is kept unless it costs a lot, and Report is checked after planning.

howstring nullable
keystring nullable
aliasesstring[] nullable

Response

OK

draft_openedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.