Mailzero Assistant

Change a standing delegation

Rename, enable or disable, reorder, change the match, the assignee, the level or the grants. Lowering the level to observe is the one-click kill switch of a rule. Requires assistant:write; an agent token is refused.

put/api/assistant/rules/{id}

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/assistant/rules/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

namestring
enabledboolean
positioninteger

Rules are tried in this order; the first match wins

assignee_type'agent' | 'member'
assignee_refstring

The agent identity slug, or the member's user id

level'observe' | 'triage' | 'draft' | 'guarded_send' | 'operate'

The autonomy granted; observe by default

Response

The rule

idstring required
namestring required
enabledboolean required
positioninteger required
level'observe' | 'triage' | 'draft' | 'guarded_send' | 'operate' required
match_countinteger required
last_matched_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.