---
title: "PUT /projects/{projectId}/tasks/{taskId}/date"
method: PUT
path: "/projects/{projectId}/tasks/{taskId}/date"
tags: ["Task"]
---

# PUT /projects/{projectId}/tasks/{taskId}/date

`PUT /projects/{projectId}/tasks/{taskId}/date`

## Request

- Base URL: `https://www.taskade.com/api/v1`
- URL: `https://www.taskade.com/api/v1/projects/{projectId}/tasks/{taskId}/date`
- Auth: OAuth 2 and HTTP bearer
  - Authorization code: `https://www.taskade.com/oauth2/authorize`
  - Token URL: `https://www.taskade.com/oauth2/token`

Create or update date for a task

## Path parameters

- `projectId` string, required
- `taskId` string, required

## Request body

- object
  - `start` Date, required
    - `date` string, required: ISO date format (YYYY-MM-DD), e.g. "2021-12-31"
    - `time` string, nullable: Optional time component in 24-hour format (HH:MM:SS), e.g. "15:30:45". Can be null or omitted for date-only representations
    - `timezone` string, nullable: Optional timezone identifier (IANA timezone name), e.g. "America/New_York", "Asia/Singapore". Can be null or omitted for timezone-naive representations
  - `end` Date
    - `date` string, required: ISO date format (YYYY-MM-DD), e.g. "2021-12-31"
    - `time` string, nullable: Optional time component in 24-hour format (HH:MM:SS), e.g. "15:30:45". Can be null or omitted for date-only representations
    - `timezone` string, nullable: Optional timezone identifier (IANA timezone name), e.g. "America/New_York", "Asia/Singapore". Can be null or omitted for timezone-naive representations

## Response `200`

Successful Task Date create or update

- object: Successful Task Date create or update
  - `ok` true, required
  - `item` Task, required
    - `id` string, required
    - `text` string
    - `parentId` string
    - `completed` boolean

## Other responses

- `4XX`: Error description

---

[API](https://skmtc.dev/taskade/apis/taskade-public-api-v1.md) - [All operations](https://skmtc.dev/taskade/apis/taskade-public-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/taskade/apis/taskade-public-api-v1/revisions/55e17fe72d22?raw)
