---
title: "Admin Update Lesson"
method: PUT
path: "/admins/lessons/{id}"
tags: ["admins-lessons"]
---

# Admin Update Lesson

`PUT /admins/lessons/{id}`

admin update lesson

## Path parameters

- `id` string, required

## Request body

- V1UpdateLessonInput
  - `content` string
  - `name` string
  - `position` integer
  - `published` boolean

## Response `200`

ok

- string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error
- `default` — Default response

## Changes

- **2021-02-13** `58f2e0836738` — 1 info
  - endpoint added
- **2021-02-04** `0677335332a8` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/creatly/apis/creatly-api/changes/admins/lessons/:id/put.md)

---

[API](https://skmtc.dev/creatly/apis/creatly-api.md) · [All operations](https://skmtc.dev/creatly/apis/creatly-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/creatly/creatly-api/revisions/513aaee36614/schema)
