Remove the link between a rule and an Agent , using the role linked_agents . The Agent stops applying the rule on its next run, while the rule and its full version history are kept. The same link can be removed from the other side with Dissociate Agent , using the role linked_rules .
Unlinking is not the same as unpublishing: unpublishing a rule stops every Agent from applying it, unlinking stops only this one.
The call is checked on both ends: you need the Organization Member right on the rule, and the right to modify the Agent you are unlinking it from.
npm install @luzmo/nodejs-sdk{
"id": "c1f4a0c2-6c9e-4f6b-9a5a-3f0d2b8f1e77",
"name": "Discount policy",
"status": "published",
"has_unpublished_changes": false,
"latest_version_id": "2e7c8a10-4b3d-4a2f-9c1e-7d6b5a4f3e2d",
"published_version_id": "2e7c8a10-4b3d-4a2f-9c1e-7d6b5a4f3e2d",
"published_name": "Discount policy",
"published_at": "2026-09-18T09:33:47.019Z",
"organization_id": "0f2b8a6d-3c4e-4d5a-8b7c-1e2f3a4b5c6d",
"user_id": "5ec6950f-d7bb-4554-8f6a-10ea8b68c254",
"created_at": "2026-09-18T09:04:11.204Z",
"updated_at": "2026-09-18T09:33:47.019Z"
}