---
title: "Rename the closeout lessons"
method: PUT
path: "/readiness/closeout-lessons"
tags: ["readiness"]
---

# Rename the closeout lessons

`PUT /readiness/closeout-lessons`

## Request

- Base URL: `https://api.onplana.com/api`
- URL: `https://api.onplana.com/api/readiness/closeout-lessons`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Requires org.compliance.manage (Owner and Admin by default). `labels` maps a lesson key to the workspace's label for it (at most 80 characters); null or an empty string goes back to the default label. Keys not sent keep their label; any other key is a 400. Audited as CLOSEOUT_LESSON_LABELS_CHANGED. Returns the labels (see GET).

## Headers

- `X-Organization-Id` string, required

## Request body

- object
  - `labels` object, required
    - `wentWell` string, nullable
    - `toImprove` string, nullable
    - `scheduleVarianceReason` string, nullable
    - `budgetVarianceReason` string, nullable
    - `leavesBehind` string, nullable

## Response `200`

The closeout lessons set

## Other responses

- `400`: Validation error
- `401`: Unauthorized - missing or invalid JWT
- `403`: Forbidden - insufficient role

---

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