Bulk dismiss anomalies in a date range
POST
/api/v1/anomalies/dismiss-by-period
Dismiss every active anomaly whose date metadata overlaps the given period. Used by the close checklist's 'Dismiss all anomalies' CTA for historical periods that were reviewed offline.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Request body
Schema: BulkDismissByPeriodRequest
-
start_datestring · date required -
Inclusive lower bound for anomaly date window (YYYY-MM-DD).
-
end_datestring · date required -
Inclusive upper bound for anomaly date window (YYYY-MM-DD).
-
reasonstring required -
One of: expected, resolved, false_positive, other
-
notesstring -
Optional user-provided notes
Responses
400 Bad Request - Invalid input
401 Unauthorized - Authentication required
403 Forbidden - Insufficient permissions
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-