Delete a rendition
Code Mode: praxis.studio.works.renditions.delete
HTTP: DELETE /studio/v1/works/{work}/renditions/{rendition}
Delete a rendition and stop listing it. The draft it was built from is untouched, and a new rendition can be created from it at any time. Files already downloaded from an earlier export are not affected. Use it to clear a failed or abandoned rendition; to refresh one, call the render operation instead.
Signature
praxis.studio.works.renditions.delete(args:{path:{/** e.g. "wu-gang" */ work:string;/** e.g. "rnd_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ rendition:string}}):Promise<{/** Always true, which is what tells a caller the deletion landed rather than that the resource was already missing. */ deleted:boolean}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| work | path | string | yes | The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value. |
| rendition | path | string | yes | Rendition being addressed, by its rnd_ identifier from the rendition list or from the create answer. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | Confirmation that the rendition was deleted. |
| 400 | application/json | INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call. |
| 401 | application/json | The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header. |
| 404 | application/json | RENDITION_NOT_FOUND or WORK_NOT_FOUND means the rendition or its work is not reachable; use the rnd_ identifier from the rendition list and the work slug, since a deleted rendition never returns. |
| 500 | application/json | INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed. |