---
title: "Update a scheduled task"
method: PATCH
path: "/public/v1/clones/{cloneId}/tasks/{taskId}"
tags: ["Tasks"]
---

# Update a scheduled task

`PATCH /public/v1/clones/{cloneId}/tasks/{taskId}`

Updates one or more fields on a scheduled task.

## Path parameters

- `cloneId` string, required
- `taskId` string, required

## Request body

- UpdateTaskRequest
  - `title` string
  - `prompt` string
  - `startsAt` string, date-time
  - `isRecurring` boolean
  - `recurrence` TaskRecurrence
    - `pattern` 'Minutely' | 'Hourly' | 'Daily' | 'Weekly' | 'Monthly' | 'Yearly', required
    - `interval` integer, required
    - `endsAt` string, date-time
  - `color` string

## Response `200`

Updated task

- TaskSummary
  - `id` string, required
  - `title` string, required
  - `prompt` string, required
  - `startsAt` string, date-time, required
  - `isRecurring` boolean, required
  - `recurrence` TaskRecurrence
    - `pattern` 'Minutely' | 'Hourly' | 'Daily' | 'Weekly' | 'Monthly' | 'Yearly', required
    - `interval` integer, required
    - `endsAt` string, date-time
  - `color` string
  - `lastRanAt` string, date-time
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Bad request
- `401` — Missing or invalid API key
- `403` — API key lacks required scope
- `404` — Resource not found

## Changes

- **2026-03-22** `0841f04b6bd8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/clone-global/apis/cloneforce-platform-api/changes/public/v1/clones/:cloneId/tasks/:taskId/patch.md)

---

[API](https://skmtc.dev/clone-global/apis/cloneforce-platform-api.md) · [All operations](https://skmtc.dev/clone-global/apis/cloneforce-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clone-global/cloneforce-platform-api/revisions/0841f04b6bd8/schema)
