Back to KlaviyoDelete Template
Delete a template with the given template ID.
Rate limits:
Burst: 10/s
Steady: 150/m
\n\nScopes:\nTemplates Write
Input
type: object
properties:
parameters:
type: object
properties:
id:
type: string
description: The ID of template
revision:
type: string
default: '2023-02-22'
description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])'
required:
- id
- revision
title: Parameters
Output
type: object
required:
- data
properties:
data:
type: object
required:
- type
- id
- attributes
- links
properties:
type:
type: string
enum:
- template
id:
type: string
description: The ID of template
attributes:
type: object
required:
- company_id
- name
- editor_type
- html
properties:
company_id:
type: string
example: COMPANY_ID
description: The ID of the company the template belongs to
name:
type: string
description: The name of the template
editor_type:
type: string
description: ' `editor_type` has a fixed set of values:\n* SYSTEM_DRAGGABLE: indicates a drag-and-drop editor template\n* SIMPLE: A rich text editor template\n* CODE: A custom HTML template\n* USER_DRAGGABLE: A hybrid template, using custom HTML in the drag-and-drop editor\n'
html:
type: string
description: The rendered HTML of the template
text:
type: string
description: The template plain_text
created:
type: string
format: date-time
example: '2022-11-08T00:00:00'
description: >-
The date the template was created in ISO 8601 format
(YYYY-MM-DDTHH:MM:SS.mmmmmm)
updated:
type: string
format: date-time
example: '2022-11-08T00:00:00'
description: >-
The date the template was updated in ISO 8601 format
(YYYY-MM-DDTHH:MM:SS.mmmmmm)
links:
type: object
required:
- self
properties:
self:
type: string
format: uri