Scripts

Delete a whole script.

Permanently deletes a script: every version and everything scoped to them (character avatars, table reads and their share links, coverage reports, conversations, drafts), through the same core as the Writers Lab's delete. Requires confirmed: true (?confirmed=true or a JSON body). Refused with 409 script_in_use, details.uses naming each, while a published or scheduled release, a running job, a season-run slot, a pitch deck or a trailer still depends on it; 404 script_not_found for a script that is not yours. Banked audio stays in My Library, and the plan, job and artifact rows that generated it are kept. Irreversible. Free. Scope: story:write.

delete/scripts/{scriptUploadId}

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/scripts/{scriptUploadId}
  • Auth: HTTP bearer

Query parameters

confirmedboolean

Required (here or in a JSON body): the user explicitly agreed to delete the script.

Response

Deleted.

deletedtrue required
scriptIdstring required
versionsinteger required

How many versions went with it.

Changes

No recorded changes to this operation across all 1 revision of this API.