---
title: "Delete web package"
method: DELETE
path: "/v2/web-packages/{id}"
tags: ["Web Packages"]
---

# Delete web package

`DELETE /v2/web-packages/{id}`

Soft-delete a web package.

Returns 409 when a lesson in a live course still references the package —
deleting it would leave that lesson with no content. Otherwise the package
is soft-deleted and 204 is returned.

By-id rather than a batch envelope: the conflict outcome has no natural home
in a per-row batch result, and ``batch-responses.md`` warns specifically
against letting a ``ConflictError`` fall through the document-level path
mid-batch. Matches ``DELETE /v2/students/{id}``.

**Required OAuth scope:** `web-packages:write`

## Path parameters

- `id` string, required

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Entity

---

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