---
title: "Update course category"
method: PUT
path: "/courses/{contentId}/metadata/category"
tags: ["Course metadata"]
---

# Update course category

`PUT /courses/{contentId}/metadata/category`

Add or update course category in the metadata of a course.

## Path parameters

- `contentId` string, required

## Request body

- object
  - `category` string

## Response `200`

Course detail

- CourseMetaResponse
  - `id` string
  - `name` string
  - `createdAt` string, date-time
  - `coverImageUrl` string
  - `tasksEnabled` boolean
  - `metadata` object
    - `rootContentId` string
    - `category` string
    - `topic` string
    - `level` string
    - `tags` string[]
    - `learning_outcomes` LearningOutcomes[]
      - `id` string
      - `description` string
    - `tasks_count` object

## Other responses

- `400` — Bad Request
- `401` — No authorization token was found.
- `403` — You are not allowed to access this resource.
- `404` — Not Found

---

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