Delete AIRule

LLM-friendly URL
POST
https://api.luzmo.com/0.1.0/airule

Delete a rule together with its full version history, and drop the links to the Agents that applied it. The Agents themselves are not affected.

A rule that is published cannot be deleted: the call is rejected with a 400 and the message A published rule must be unpublished before it can be deleted. . Unpublish it first by updating the rule with published_version_id: null , so that removing a rule from your Agents is always a deliberate step rather than a side effect of a delete.

Deleting a rule requires the Organization Editor right, i.e. the Owners and Designers of the organization.

Request parameters
Expand all Reset
id *UUIDrequired

The unique identifier of the entity

Can be executed by:
Organization Editor
Can be associated to:
latest_version
published_version
versions
linked_agents
created_by
Did this page help you?
Yes No
Language
Shell
Node
Java
.NET
Python
PHP
Install
npm install @luzmo/nodejs-sdk
Example Response
200
400
500
{}