---
title: "Disable a template script"
method: DELETE
path: "/templateScript"
tags: ["TemplateScript"]
---

# Disable a template script

`DELETE /templateScript`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/templateScript`
- Auth: API key in header `X-API-Key`

## Request body

- TemplateScript
  - `id` string, uuid
  - `templateType` 'ORDER' | 'COMPOSITE_ORDER' | 'INVOICE' | 'CREDIT_MEMO' | 'PREDEFINED_TERM', required
  - `script` string, required
  - `enabled` boolean, required
  - `createdBy` string
  - `createdOn` integer
  - `updatedOn` integer

## Response `default`

successful operation

---

[API](https://skmtc.dev/dealhub/apis/subskribe-api.md) - [All operations](https://skmtc.dev/dealhub/apis/subskribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dealhub/apis/subskribe-api/revisions/c1ee531b82ce?raw)
