delete_web_package
Soft-delete a web package. Refuses deletion while a live lesson uses it, preventing broken content.
Instructions
Delete one web package. Soft, and REFUSED while a live lesson uses it.
`id` is the obfuscated package id. This takes one id, not a batch, because the
conflict case below has no sensible place in a per-row batch result.
If a lesson in a LIVE published course still points at this package, the call is
REFUSED rather than partially applied - deleting it would leave that lesson with
no content for learners who are looking at it right now. Unpublish the course or
repoint the lesson first.
The delete is soft: the package stops being listed, and existing references in
unpublished courses are not rewritten.
Requires the `web-packages:write` OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| state | No | ||
| title | No | ||
| base_path | No | ||
| created_at | No | ||
| modified_at | No | ||
| display_name | No | ||
| package_type | No |