---
title: "A single targeted rewrite against one named violation."
method: POST
path: "/api/v1/template-jobs/{draft_id}/script/fix"
tags: ["Video Templates"]
---

# A single targeted rewrite against one named violation.

`POST /api/v1/template-jobs/{draft_id}/script/fix`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/template-jobs/{draft_id}/script/fix`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Path parameters

- `draft_id` integer, required

## Other responses

- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/avatarfactory/apis/avatarfactory-api.md) · [All operations](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/revisions/66fc7aa3f296?raw)
