Delete one version of a script.
The Writers Lab's "Only version N", through its core: deletes ONE version and what is scoped to it (character art, table reads and their share links, coverage, conversations); the other versions stay. Requires confirmed: true (?confirmed=true or a JSON body). Refused with 409 script_in_use (details.uses) while something live depends on this version — a release in the feed whose read performs it, a running job, an episode draft, a season-run slot, a pitch deck or a trailer — and with 409 script_state_invalid for the script's only version (DELETE /scripts/{scriptId} deletes the whole script). 404 script_not_found when the version is not one of this script's. Banked audio stays in My Library. Irreversible. Free.
Request
- Base URL: https://docs.sleeperhit.studio/api/v1
- URL: https://docs.sleeperhit.studio/api/v1/scripts/{scriptUploadId}/versions/{versionId}
- Auth: HTTP bearer
Query parameters
Required (here or in a JSON body): the user explicitly agreed to delete the version.
Response
Deleted.
Changes
No recorded changes to this operation across all 1 revision of this API.