---
title: "Update a course"
method: PUT
path: "/lms/{connection_id}/course/{id}"
tags: ["lms", "course"]
---

# Update a course

`PUT /lms/{connection_id}/course/{id}`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- LmsCourse
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `description` string
  - `is_private` boolean
  - `is_active` boolean
  - `price_amount` number
  - `languages` string[]
  - `categories` string[]
  - `currency` string
  - `media` LmsMedia[]
    - `url` string
    - `name` string
    - `description` string
    - `type` 'IMAGE' | 'HEADSHOT' | 'VIDEO' | 'WEB' | 'DOCUMENT' | 'TEXT' | 'HTML' | 'OTHER'
    - `thumbnail_url` string
    - `content` string
    - `languages` string[] — ISO 2-digit language codes
  - `instructor_ids` string[] — @deprecated; use instructors
  - `instructors` LmsReference[]
    - `id` string
    - `name` string
  - `student_ids` string[] — @deprecated; use students
  - `students` LmsReference[]
    - `id` string
    - `name` string
  - `content_ids` string[]
  - `skills` string[]
  - `duration_minutes` number
  - `provider_name` string
  - `published_at` string, date-time
  - `time_estimate_minutes` number
  - `raw` object

## Response `200`

Successful

- LmsCourse
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `description` string
  - `is_private` boolean
  - `is_active` boolean
  - `price_amount` number
  - `languages` string[]
  - `categories` string[]
  - `currency` string
  - `media` LmsMedia[]
    - `url` string
    - `name` string
    - `description` string
    - `type` 'IMAGE' | 'HEADSHOT' | 'VIDEO' | 'WEB' | 'DOCUMENT' | 'TEXT' | 'HTML' | 'OTHER'
    - `thumbnail_url` string
    - `content` string
    - `languages` string[] — ISO 2-digit language codes
  - `instructor_ids` string[] — @deprecated; use instructors
  - `instructors` LmsReference[]
    - `id` string
    - `name` string
  - `student_ids` string[] — @deprecated; use students
  - `students` LmsReference[]
    - `id` string
    - `name` string
  - `content_ids` string[]
  - `skills` string[]
  - `duration_minutes` number
  - `provider_name` string
  - `published_at` string, date-time
  - `time_estimate_minutes` number
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/revisions/fecb148873a5/schema)
