Skip to main content
PUT
Set rules

Authorizations

Authorization
string
header
required

Bearer API Key. For example, "Bearer {Tenant API Key}"

Headers

Authorization
string
required

Bearer API Key. For example, "Bearer {Tenant API Key}"

Content-Type
string

application/json

Body

application/json
rules
object[]
required

The rules in priority order, first wins. Rules read only from integration tags are moved after the rest, so an asset's own tags are always tried first. Whatever the order, an assign rule with overrideTags is tried before the owner tags, and one without it after them. At most 20 owner tags and 200 additional rules. Keep a rule's id to keep the owners it found linked to it.

Maximum array length: 220
version
string

The version of the whole rule list. It changes whenever any rule is added, removed, moved or edited. Send it back with a change so a change made meanwhile is not overwritten.

Example:

"9mQx2bTq4kLr7sVw1yZa0c"

owners
object[]

Optional. The kind of particular values, overriding Plerion's guess.

Maximum array length: 500

Response

The rules as saved

data
object