approvalPolicy

Update approval policy

Transport: call this endpoint with HTTP PATCH and a JSON request body. Create or update approval policy for the active workspace/user/account. Owner/admin only.

patch/v1/approvalPolicy/update

Request

  • Base URL: https://api.zevari.ai
  • URL: https://api.zevari.ai/v1/approvalPolicy/update
  • Auth: HTTP bearer

Request body

scope'org_default' | 'user_default' | 'account_user'
mode'strict' | 'balanced' | 'fast' | 'autopilot' | 'autopilot_limited' | 'autopilot_expanded' | 'autopilot_unattended' required

Four choices: strict, fast, autopilot (with autopilot_campaigns_enabled), autopilot_unattended. Legacy values are still accepted: autopilot_limited is saved as autopilot without campaign launches, autopilot_expanded as autopilot with them; balanced is kept and returned as balanced (canonical_mode strict).

autopilot_campaigns_enabledboolean

With mode 'autopilot' only: also auto-approve eligible campaign launches and enrollments of any size and action bundles up to 20. Defaults to false. Ignored for other modes.

daily_autopilot_action_limitinteger

Deprecated and ignored: Autopilot has no hourly or daily action cap (551.0).

hourly_autopilot_action_limitinteger

Deprecated and ignored: Autopilot has no hourly or daily action cap (551.0).

accept_unattended_termsboolean

Required (true) to enable autopilot_unattended: accepts that high-risk outbound actions auto-approve with no browser approval and the org assumes liability.

Response

Successful Zevari API response.

okboolean required

False when the underlying tool reports an error or a partial failure.

methodstring required

Public API method name.

dataunknown required
request_idstring required

Request correlation ID. Also returned in X-Zevari-Request-Id.

Example response

{
  "method": "campaigns.delete"
}

Changes

No recorded changes to this operation across all 1 revision of this API.