---
title: "PUT /api/admin/component-configurations/"
method: PUT
path: "/api/admin/component-configurations/"
tags: ["ComponentConfigurations"]
---

# PUT /api/admin/component-configurations/

`PUT /api/admin/component-configurations/`

Create or update a component configuration.

## Request body

- object
  - `workspaceId` string, required
  - `name` string, required
  - `id` string
  - `definition` union
    - object
      - `type` 'DeliveriesTable', required
      - `columnAllowList` union[]
        - union
          - 'preview'
          - 'from'
          - 'to'
          - 'userId'
          - 'snippet'
          - 'channel'
          - 'status'
          - 'origin'
          - 'sentAt'
          - 'template'
          - 'updatedAt'
      - `userUriTemplate` string
      - `templateUriTemplate` string
      - `originUriTemplate` string
    - object
      - `type` 'Broadcast', required
      - `stepsAllowList` union[]
        - union
          - 'RECIPIENTS'
          - 'CONTENT'
          - 'CONFIGURATION'
          - 'DELIVERIES'
          - 'EVENTS'
      - `emailProviderOverrideAllowList` union[]
        - union
          - 'SendGrid'
          - 'AmazonSes'
          - 'Resend'
          - 'PostMark'
          - 'Smtp'
          - 'Test'
          - 'MailChimp'
          - 'Gmail'
      - `hideOverrideSelect` boolean
      - `hideScheduledSelect` boolean
      - `hideRateLimit` boolean
      - `hideDrawer` boolean
      - `hideTemplateUserPropertiesPanel` boolean
      - `showErrorHandling` boolean
      - `allowedEmailContentsTypes` union[]
        - union
          - 'Code'
          - 'LowCode'
      - `lowCodeEmailDefaultType` union
        - 'Informative'
        - 'Empty'
    - object
      - `type` 'MessageTemplate', required
      - `allowedEmailContentsTypes` union[]
        - union
          - 'Code'
          - 'LowCode'
      - `lowCodeEmailDefaultType` union
        - 'Informative'
        - 'Empty'
    - object
      - `type` 'AnalysisChart', required
      - `hardcodedFilters` object
        - `journeyIds` string[]
        - `broadcastIds` string[]
        - `channels` string[]
        - `providers` string[]
        - `messageStates` string[]
        - `templateIds` string[]
        - `userIds` string[]
      - `allowedFilters` union[]
        - union
          - 'journeyIds'
          - 'broadcastIds'
          - 'channels'
          - 'providers'
          - 'messageStates'
          - 'templateIds'
          - 'userIds'
      - `allowedGroupBy` union[]
        - union
          - 'journey'
          - 'broadcast'
          - 'messageTemplate'
          - 'provider'
      - `allowedChannels` union[]
        - union
          - 'Email'
          - 'MobilePush'
          - 'Sms'
          - 'Webhook'
      - `columnAllowList` union[]
        - union
          - 'preview'
          - 'from'
          - 'to'
          - 'userId'
          - 'snippet'
          - 'channel'
          - 'status'
          - 'origin'
          - 'sentAt'
          - 'template'
          - 'updatedAt'
      - `templateUriTemplate` string
      - `originUriTemplate` string

## Response `200`

Default Response

- object
  - `id` string, required
  - `workspaceId` string, required
  - `definition` union, required
    - object
      - `type` 'DeliveriesTable', required
      - `columnAllowList` union[]
        - union
          - 'preview'
          - 'from'
          - 'to'
          - 'userId'
          - 'snippet'
          - 'channel'
          - 'status'
          - 'origin'
          - 'sentAt'
          - 'template'
          - 'updatedAt'
      - `userUriTemplate` string
      - `templateUriTemplate` string
      - `originUriTemplate` string
    - object
      - `type` 'Broadcast', required
      - `stepsAllowList` union[]
        - union
          - 'RECIPIENTS'
          - 'CONTENT'
          - 'CONFIGURATION'
          - 'DELIVERIES'
          - 'EVENTS'
      - `emailProviderOverrideAllowList` union[]
        - union
          - 'SendGrid'
          - 'AmazonSes'
          - 'Resend'
          - 'PostMark'
          - 'Smtp'
          - 'Test'
          - 'MailChimp'
          - 'Gmail'
      - `hideOverrideSelect` boolean
      - `hideScheduledSelect` boolean
      - `hideRateLimit` boolean
      - `hideDrawer` boolean
      - `hideTemplateUserPropertiesPanel` boolean
      - `showErrorHandling` boolean
      - `allowedEmailContentsTypes` union[]
        - union
          - 'Code'
          - 'LowCode'
      - `lowCodeEmailDefaultType` union
        - 'Informative'
        - 'Empty'
    - object
      - `type` 'MessageTemplate', required
      - `allowedEmailContentsTypes` union[]
        - union
          - 'Code'
          - 'LowCode'
      - `lowCodeEmailDefaultType` union
        - 'Informative'
        - 'Empty'
    - object
      - `type` 'AnalysisChart', required
      - `hardcodedFilters` object
        - `journeyIds` string[]
        - `broadcastIds` string[]
        - `channels` string[]
        - `providers` string[]
        - `messageStates` string[]
        - `templateIds` string[]
        - `userIds` string[]
      - `allowedFilters` union[]
        - union
          - 'journeyIds'
          - 'broadcastIds'
          - 'channels'
          - 'providers'
          - 'messageStates'
          - 'templateIds'
          - 'userIds'
      - `allowedGroupBy` union[]
        - union
          - 'journey'
          - 'broadcast'
          - 'messageTemplate'
          - 'provider'
      - `allowedChannels` union[]
        - union
          - 'Email'
          - 'MobilePush'
          - 'Sms'
          - 'Webhook'
      - `columnAllowList` union[]
        - union
          - 'preview'
          - 'from'
          - 'to'
          - 'userId'
          - 'snippet'
          - 'channel'
          - 'status'
          - 'origin'
          - 'sentAt'
          - 'template'
          - 'updatedAt'
      - `templateUriTemplate` string
      - `originUriTemplate` string

## Other responses

- `400` — Default Response

---

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