---
title: "✨ Update a learning resource"
method: PATCH
path: "/api/learning-resources/{id}/"
tags: ["Learning Resources"]
---

# ✨ Update a learning resource

`PATCH /api/learning-resources/{id}/`

## Path parameters

- `id` integer, required

## Request body

- PatchedLearningResourceUpdateRequest
  - `allow_standalone` boolean
  - `color` string, nullable
  - `cover_image_url` string
  - `default_allow_manual_access` boolean
  - `default_gate_annotator_data_manager` boolean, nullable
  - `default_gate_annotator_label_stream` boolean, nullable
  - `default_gate_reviewer_data_manager` boolean, nullable
  - `default_gate_reviewer_label_stream` boolean, nullable
  - `default_gate_reviewer_review_stream` boolean, nullable
  - `estimated_duration_unit` 'minutes' | 'hours' | 'days' | 'weeks' — * `minutes` - Minutes * `hours` - Hours * `days` - Days * `weeks` - Weeks
  - `estimated_duration_value` integer, nullable
  - `generate_certificate_on_completion` boolean
  - `hide_completed_quizzes` boolean
  - `summary` string
  - `title` string
  - `workspace` integer, nullable

## Response `200`

- LearningResourceUpdate
  - `allow_standalone` boolean
  - `color` string, nullable
  - `cover_image_url` string
  - `default_allow_manual_access` boolean
  - `default_gate_annotator_data_manager` boolean, nullable
  - `default_gate_annotator_label_stream` boolean, nullable
  - `default_gate_reviewer_data_manager` boolean, nullable
  - `default_gate_reviewer_label_stream` boolean, nullable
  - `default_gate_reviewer_review_stream` boolean, nullable
  - `estimated_duration_unit` 'minutes' | 'hours' | 'days' | 'weeks' — * `minutes` - Minutes * `hours` - Hours * `days` - Days * `weeks` - Weeks
  - `estimated_duration_value` integer, nullable
  - `generate_certificate_on_completion` boolean
  - `hide_completed_quizzes` boolean
  - `summary` string
  - `title` string
  - `workspace` integer, nullable

## Changes

- **2026-07-06** `c2893748a8d3` — 1 breaking
  - for the `path` request parameter `id`, the type/format was changed from `string`/`` to `integer`/``
- **2026-06-16** `77f50e3ef220` — 4 warning, 20 info
  - removed the request property `default_gate_before_first_annotation` (media type: application/json)
  - removed the request property `default_gate_before_first_annotation` (media type: application/x-www-form-urlencoded)
  - removed the request property `default_gate_before_first_annotation` (media type: multipart/form-data)
  - removed the optional property `default_gate_before_first_annotation` from the response with the `200` status
  - …20 more
- **2026-06-10** `d3cf6cceebfd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/humansignal/apis/label-studio-api/changes/api/learning-resources/:id/patch.md)

---

[API](https://skmtc.dev/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.dev/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/037e8b19fbfd/schema)
