Skip to content

Update Rules

Updates the specified settings rules to the provided values.

Verb PATCH
Endpoint {base-url}/settings/rules
Max Page Size 50

Request Body

{
    "body":
    [
      {
        "id": 1,
        "value": "unique at machine",
        "setting": "1",
        "organizationId": 1,
        "accountId": null,
        "siteId": null,
        "groupId": null,
        "machineId": 402,
        "createdAt": "2023-08-07T01:48:50.783",
        "isActive": true
      }
    ]
}

Returns

On Success

The updated settings rules.

Response Body

[
  {
    "id": 1,
    "value": "unique at machine",
    "setting": "1",
    "organizationId": 1,
    "accountId": null,
    "siteId": null,
    "groupId": null,
    "machineId": 402,
    "createdAt": "2023-08-07T01:48:50.783",
    "isActive": true
  }
]