---
title: "Update a specific task report schedule"
method: PATCH
path: "/orgs/{orgId}/tasks/reports/schedules/{id}"
tags: ["orgs/tasks"]
---

# Update a specific task report schedule

`PATCH /orgs/{orgId}/tasks/reports/schedules/{id}`

__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-rpt:w,o{params.orgId}-rptGeneral:w,o:w,s-o:w<br/><br/>__Endpoint name__: updateTasksReportsSchedule

## Path parameters

- `orgId` integer, required
- `id` integer, required

## Request body

- object
  - `cronTime` string
  - `cronTimeZone` string
  - `params` object
    - `executionType` string
    - `options` string
    - `expiresAfter` string, date
    - `type` 'activityLogsOrg' | 'alarmsOrg' | 'occupancyOrg' | 'auditLogsOrg', required
    - `name` string
    - `filter` string, nullable
    - `relativeTime` 'today' | 'thisWeek' | 'thisMonth' | 'thisQuarter' | 'thisYear' | 'yesterday' | 'lastFullWeek' | 'lastFullMonth' | 'lastFullQuarter' | 'last6FullMonths' | 'last12FullMonths'
    - `customFieldIds` integer[], nullable
    - `destinationEmails` string[], nullable
    - `timeZone` string, nullable
    - `columns` string[], nullable
    - `expiresAfterDays` integer, nullable
  - `randomDelaySecs` integer

## Response `204`

No Content

---

[API](https://skmtc.dev/openpath/apis/openpath-api-documentation.md) · [All operations](https://skmtc.dev/openpath/apis/openpath-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openpath/openpath-api-documentation/revisions/d8a888c114fa/schema)
