---
title: "Delete an Activation Template"
method: DELETE
path: "/entities/activation_templates/{id}"
tags: ["Activation Templates"]
---

# Delete an Activation Template

`DELETE /entities/activation_templates/{id}`

## Path parameters

- `id` integer, required

## Response `200`

Deleted Activation Template

- EntitiesGetActivationTemplateJsonApiResponse
  - `data` ActivationTemplateJsonApiResource, required
    - `id` string
    - `type` 'activation-template'
    - `attributes` object
      - `audienceId` string, required
      - `name` string, required
      - `description` string, nullable, required
      - `kind` integer — 0: batch, 1: batch_journey
      - `allColumns` boolean — activation all column flag ('true' means that you use all attribute data)
      - `columns` union
        - object[] — Syndication column detail. Basic syntax is `{"column": "alias_name", "source": {...}}`. `source` accepts various definitions. See ColumnExpression/StringExpression for details. example value is using ColumnExpression without `function` property.
          - `id` string, uuid
          - `column` string, required
          - `source` union, required
            - ColumnExpression
              - …
            - StringExpression
              - …
        - NullValue, nullable
          - `thisKeyNeverHit` string
      - `scheduleType` 'cron' | 'daily' | 'hourly' | 'minutes_interval' | 'monthly' | 'none' | 'weekly' — Deprecated. Old parameter for setting schedule type. See/Use RepeatUnit instead.
      - `scheduleOption` string, nullable
      - `timezone` string, nullable
      - `startAt` string, ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$, nullable — cdp-api will fill some value for old syndications with ScheduleType is not NoneType. '%Y-%M-%DT%h:%m:%s' is expected.
      - `endOn` string, date, nullable
      - `repeatUnit` 'none' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'once' — Setting an activation repetition cycle such as "day" or "week".
      - `repeatFrequency` integer — Setting an activation repeat frequency. Currently, it is set only when the repeat unit is "minute". If the repeat unit is "minute", the interval is set in minutes.
      - `repeatSubFrequency` integer[] — Parameter for more detailed frequency settings. Values are array of integers. Currently, this parameter is only valid for repeat unit "week". For multiple days of the week, each value should be 1 to 7. 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday, 7: Sunday
      - `connectionId` string, nullable
      - `connectorConfig` object, nullable
      - `notifyOn` string[]
      - `emailRecipients` integer[]
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
      - `state` 'draft' | 'published'
      - `nestedWorkflowProjectName` string, nullable
      - `nestedWorkflowName` string, nullable
      - `activationActionsEnabled` boolean
      - `lockEnabled` boolean
      - `runAfterJourneyRefresh` boolean, nullable — If true, this activation step will be executed immediately after the journey is refreshed. Only available for kind of journey.
      - `syndicationBehavior` ActivationTemplateSyndicationBehaviorProperties
        - `columns` object[] — Syndication column detail. Basic syntax is `{"column": "alias_name", "source": {...}}`. `source` accepts various definitions. See ColumnExpression/StringExpression for details. example value is using ColumnExpression without `function` property.
          - `id` string, uuid
          - `column` string, required
          - `source` union, required
            - ColumnExpression
              - …
            - StringExpression
              - …
        - `behaviorTableName` string — Behavior table name which contains behavior records
        - `joinRow` integer, nullable — How much rows would be joined (value is N for Top-N join)
        - `joinStrategy` 'All' | 'First' | 'Last' | 'Top-N'
        - `formatting` 'rows' | 'cols'
        - `orderBy` object[]
          - `key` string
          - `order` 'ascending' | 'descending'
      - `fieldProperties` ActivationTemplateFieldProperties — activation template field properties
        - `locked` ActivationTemplateFieldPropertiesLocked, required — activation template field properties locked
          - `allColumns` boolean
          - `columns` object
          - `connectionId` boolean
          - `connectorConfig` object, nullable
          - `activationActionsEnabled` boolean
          - `syndicationBehavior` object, nullable
            - `tableName` string — Behavior table name which contains behavior records
            - `columns` object
            - `lockAddColumn` boolean
            - `lockDeleteBehaviorTable` boolean
            - `lockEditBehaviorTable` boolean
            - `lockEditJoinRow` boolean
            - `lockEditJoinStrategy` boolean
            - `lockEditFormatting` boolean
            - `lockEditOrderBy` boolean
          - `lockAddColumn` boolean
          - `lockAddString` boolean
          - `lockAddBehavior` boolean
          - `lockEditSchedule` boolean
          - `lockEditNotification` boolean
          - `lockEditWorkflowExecution` boolean
          - `lockEditSequentialActivation` boolean
      - `activationCount` integer — Number of related activations
      - `journeyCount` integer — Number of related journeys
      - `available` boolean — This template is available or not (It contains PBP PII BLOCKED columns or not)
    - `relationships` object
      - `parentFolder` RelationshipsFolderJsonApiResource
        - `data` object
          - `id` string, required
          - `type` 'folder-segment', required
      - `createdBy` RelationshipsUserJsonApiResource
        - `data` object, nullable
          - `id` string, required
          - `type` 'user', required
      - `updatedBy` RelationshipsUserJsonApiResource
        - `data` object, nullable
          - `id` string, required
          - `type` 'user', required
  - `included` UserJsonApiResource[], required
    - `id` string, required
    - `type` 'user', required
    - `attributes` object, required
      - `tdUserId` string, required
      - `name` string, required

## Other responses

- `403` — Requested resource or action is not allowed because you don't have sufficient permissions
- `404` — The specified resource is not found
- `409` — The specified resource conflicts; having dependent segments, referencing segments, etc.
- `5XX` — System error. Because there is a possibility of a temporary error due to network trouble and so on, we recommend several times retry on request side. Please contact the TD support team if you do not resolve it.

---

[API](https://skmtc.net/treasure/apis/cdp-api.md) · [All operations](https://skmtc.net/treasure/apis/cdp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasure/cdp-api/revisions/24caa8eb809b/schema)
