---
title: "Archive or reactivate courses"
method: PUT
path: "/api/v1/courses/archived"
tags: ["Courses"]
---

# Archive or reactivate courses

`PUT /api/v1/courses/archived`

## Request body

- object
  - `product_action` string, required — Action to perform: archive or reactivate
  - `product_ids` integer[], required — Product ids to act on

## Response `200`

all courses processed

## Other responses

- `422` — some courses could not be processed

---

[API](https://skmtc.net/instructure/apis/canvas-catalog-api.md) · [All operations](https://skmtc.net/instructure/apis/canvas-catalog-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/instructure/canvas-catalog-api/revisions/78578cd3e37a/schema)
