---
title: "Delete a product"
method: DELETE
path: "/api/products/{productId}"
tags: ["Products"]
---

# Delete a product

`DELETE /api/products/{productId}`

## Path parameters

- `productId` string, required

## Response `200`

Success.

- OkResponse
  - `ok` boolean

## Other responses

- `422` — Product could not be deleted.

## Changes

- **2026-07-17** `3b48f60910dc` — 1 info
  - endpoint added
- **2026-04-19** `85a1c15f561d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/codelitdev/apis/courselit-rest-api/changes/api/products/:productId/delete.md)

---

[API](https://skmtc.dev/codelitdev/apis/courselit-rest-api.md) · [All operations](https://skmtc.dev/codelitdev/apis/courselit-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codelitdev/courselit-rest-api/revisions/3b48f60910dc/schema)
