201Successful Response
Schema: SuccessEnvelope_DashboardRefreshScheduleResponse_
successbooleanmessagestringcodestringdataDashboardRefreshScheduleResponse
/api/v1/dashboards/{dashboard_id}/scheduleSchedule a recurring background refresh of this dashboard's widget sources. A dashboard may have at most one schedule — returns 400 if one already exists (PATCH it instead).
The refresh runs as you: at each run the scheduler re-resolves your current role and permissions and executes the widget sources under them. If your access to this business later lapses, the refresh fails closed rather than continuing as a standing grant.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
dashboard_idstringrequiredSchema: DashboardRefreshScheduleRequest
frequencystringOne of: hourly, daily, weekly, monthly
day_of_weekintegerday_of_monthintegerhour_utcintegertimezonestringis_enabledbooleanSchema: SuccessEnvelope_DashboardRefreshScheduleResponse_
successbooleanmessagestringcodestringdataDashboardRefreshScheduleResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject