Delete asset
Changed onPermanently delete an asset.
Returns 409 when the asset is still used by live course content — as a lesson's content, a lesson content item, a lesson attachment, or a course promo video. Otherwise the asset is deleted and 204 is returned.
This is a hard delete. Unlike web packages, assets are not soft-deleted: the record is removed and its JW Platform video and stored file are torn down with it. There is no recovery.
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 against letting a ConflictError fall through the document-level path mid-batch. Matches DELETE /v2/web-packages/{id}.
Required OAuth scope: assets:write
Request
- Base URLhttps://api.skilljar.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Response
No Content
Changes
- info
added the non-success response with the status
- info
- info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status
- info