Skip to main content
DELETE
Deletes one draft version of an intent rule. The route only deletes versions with status: "DRAFT"; published and archived versions stay in the rule’s version history.
This endpoint supports intent rules only. Business Rules are published immediately and do not have draft versions.
Deleting a draft removes it from normal version-history reads. It does not change the rule’s current published version or its agent assignments.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.

Path parameters

string
required
Intent-rule ID.
string
required
Exact draft version ID to delete.

Response

Returns 204 No Content when the delete succeeds. The response body is empty.

Errors

The API key is missing, malformed, revoked, or invalid.
The API key does not include write scope.
The rule, version, or draft does not exist in your workspace, or the version is not a draft.