---
title: "Set an entry's due date"
url: https://docs.gleap.ai/en/reference/rest-api/set-due-date
method: PUT
path: "/pipeline-entries/{entryId}/due-date"
api: "API Reference"
tag: "Pipeline entries"
operationId: "SetDueDate"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Set an entry's due date

`PUT https://api.gleap.io/v3/pipeline-entries/{entryId}/due-date`

Set or clear the entry's due date — when the next step on it is due. Send an ISO date string to set it, or `null` to clear it. The board shows it on the card and turns the card red once the date has passed; the table can sort by it.

## Authorization

- `Authorization` (header, required): `Bearer <token>`

## Path parameters

- `entryId` (string, required)

## Headers

- `project` (string, required)

## Request body (`application/json`, required)

- `dueDate` (string | null): When the next step on this entry is due, as an ISO date string. `null` (or an empty string) clears it. Typed as a string rather than a Date so that clearing is expressible: TSOA would reject `null` for a `Date` field, and the service parses it either way.

## Example request

```bash
curl --request PUT \
  --url 'https://api.gleap.io/v3/pipeline-entries/{entryId}/due-date' \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dueDate": "<dueDate>"
}'
```

## Responses

### 200 (`application/json`)

Ok
