Update approval thresholds

PATCH /api/v1/ap-approval/thresholds

Update amount thresholds and/or escalation timeout without re-provisioning. Only provided fields are changed; the rest retain their current values.

Operation ID: update_thresholds_api_v1_ap_approval_thresholds_patch · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

auto_approve_max_cents integer

Max bill amount (cents) for auto-approval. Must be less than ops threshold.

ops_approve_max_cents integer

Max bill amount (cents) for ops-tier approval. Must be greater than auto threshold.

escalation_hours integer

Hours before a pending approval automatically escalates to the next tier. Applies to ops and advisor gates. Set to null to use per-gate defaults.

Responses

200 Successful Response

workflow_id string required

Workflow UUID.

auto_approve_max_cents integer required

Auto-approve threshold in cents.

ops_approve_max_cents integer required

Ops approval threshold in cents.

escalation_hours integer

Escalation timeout in hours (null = per-gate default).

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object