> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voyantcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Contract Template

> Delete a contract template and its associated translations.

## Method

`DELETE` `/v1/contract-templates/:id`

## Path Parameters

<ParamField path="id" type="uuid" required>Contract template ID.</ParamField>

## Headers

<ParamField header="Authorization" type="string">Bearer token (requires `contract-templates:write`).</ParamField>

## Request Example

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.voyantcloud.com/v1/contract-templates/ct_01J0BE7Z3S494F9D4T3E2QJ0XR" \
    -H "Authorization: Bearer $VOYANT_API_KEY"
  ```

  ```javascript Node.js theme={null}
  await fetch("https://api.voyantcloud.com/v1/contract-templates/ct_01J0BE7Z3S494F9D4T3E2QJ0XR", {
    method: "DELETE",
    headers: { Authorization: `Bearer ${process.env.VOYANT_API_KEY}` },
  })
  ```

  ```python Python theme={null}
  import os, requests

  requests.delete(
    "https://api.voyantcloud.com/v1/contract-templates/ct_01J0BE7Z3S494F9D4T3E2QJ0XR",
    headers={"Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}"},
  )
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "success": true
  }
  ```
</ResponseExample>

<Warning>
  Templates referenced by automated workflows should be reassigned before deletion to avoid contract generation failures.
</Warning>
