Skip to main content
POST
Unpublishes an intent rule immediately. Fini clears its current published-version pointer and removes its agent assignments. A working draft is retained, copying the live content first when needed. No request body is required. This is a live configuration change, not a draft edit. To resume execution, review and publish the rule again with the intended 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 in your workspace.

Response

string
Intent-rule ID.
string
DRAFT after unpublishing.
string | null
Null after unpublishing.
string[]
Intentionally empty: the rule is no longer assigned to agents.

Errors

400 if the rule is not published; 404 if the rule does not exist in your workspace. All requests can return 401 for an invalid or revoked key, or 403 when the required scope is missing.