---
title: "Set or clear a due date"
method: PUT
path: "/v1/modules/planner/deadline"
tags: ["Training Modules"]
---

# Set or clear a due date

`PUT /v1/modules/planner/deadline`

## Request

- Base URL: `https://api.vidocu.ai`
- URL: `https://api.vidocu.ai/v1/modules/planner/deadline`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://vidocu.ai/oauth/authorize`, token URL `https://api.vidocu.ai/oauth/token`)

A deadline is an expectation rather than a record, so it can be set on somebody who has never attempted the training. Pass dueAt: null to clear it.

**Scope:** `modules:write`

## Request body

- object
  - `moduleId` string, required
  - `email` string, email, required
  - `dueAt` string, nullable
  - `applicability` 'undecided' | 'applicable' | 'not_applicable'
  - `notApplicable` boolean

## Response `200`

Success

## Other responses

- `400`: Validation error
- `401`: Invalid or missing credentials
- `403`: Missing scope (`insufficient_scope`) or quota exhausted (`limit_exceeded`)
- `429`: Rate limit exceeded (60 req/min)
- `500`: Server error

---

[API](https://skmtc.dev/vidocu/apis/vidocu-api.md) · [All operations](https://skmtc.dev/vidocu/apis/vidocu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vidocu/apis/vidocu-api/revisions/cc813d2ca5d2?raw)
