---
title: "Set deadlines"
method: PATCH
path: "/operations/operations_tasks/set_deadline_timestamps/v1"
tags: ["/operations/operations_tasks"]
---

# Set deadlines

`PATCH /operations/operations_tasks/set_deadline_timestamps/v1`

Sets each selected OperationsTask's deadline_timestamp to its requested timestamp. Missing or cross-org task ids are skipped and reported through updated_count. | authz: min_org_role=operator | (OperationsTasksSetDeadlineTimestampsReq1) -> (OperationsTasksDeadlineTimestampsUpdateRes1)

## Request body

- OperationsTasksSetDeadlineTimestampsReq1
  - `updates` OperationsTaskDeadlineTimestampUpdate1[], required
    - `operations_task_id` string, required
    - `deadline_timestamp` string, date-time, required

## Response `200`

Successful Response

- OperationsTasksDeadlineTimestampsUpdateRes1
  - `updated_count` integer, required — How many requested tasks were found in the caller's org and updated; a lower count means missing or cross-org task ids were skipped.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) · [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chrt/chrt-fastapi/revisions/ea04e157edb3/schema)
