Replace chain rules
Replace the rules of a chain (including the main chain, ID 0) with the supplied ordered list. Other chains are not affected. If version is present in the request body it must match the current chain version, otherwise the request is rejected with status 409 and the body contains the current currentVersion. If version is omitted the chain is replaced unconditionally.
Each rule may be supplied either in the form produced by this API (object IDs, event codes, and called chain IDs as plain integers) or as a configuration export record (object/event references as objects carrying name and GUID, called chains as GUIDs); the latter form is resolved on import and any references that cannot be resolved are dropped, with details returned in the optional warnings field.
Path parameters
Chain ID (0 = main chain)
Request body
Response
Chain rules updated successfully