---
title: "POST /api/database/views/{view_id}/copy-configuration/"
method: POST
path: "/api/database/views/{view_id}/copy-configuration/"
tags: ["Database table views"]
---

# POST /api/database/views/{view_id}/copy-configuration/

`POST /api/database/views/{view_id}/copy-configuration/`

## Request

- Base URL: `https://api.baserow.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.baserow.io/api/database/views/{view_id}/copy-configuration/`
- Auth: HTTP bearer

Copies the requested configuration categories, the filters or sorts for example, of another view in the same table into this view, replacing this view's existing configuration of those categories. Only categories supported by both view types can be copied. The whole copy can be reverted with a single undo.

## Path parameters

- `view_id` integer, required

## Headers

- `ClientSessionId` string, uuid
- `ClientUndoRedoActionGroupId` string, uuid

## Request body

- CopyViewConfiguration
  - `source_view_id` integer, required: The id of the view in the same table to copy the configuration from.
  - `categories` CategoriesEnum[], required: The configuration categories that must be copied. Only categories supported by both the source and destination view type are accepted.

## Response `200`

- union
  - GridViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required: Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required: The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required: The field of which the value must be compared to the filter value.
      - `type` string, required: Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string: The filter value that must be compared to the field's value.
      - `preload_values` object, required: Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable: The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
      - `view` integer, required: The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required: The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required: The field that must be sorted on.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required: The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required: The field that must be grouped by.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `width` integer: The pixel width of the group by in the related view.
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer: The view to which the decoration applies. Each view can have his own decorations.
      - `type` string: The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string: The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer: The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean: Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required: The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable: Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean: Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required: Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean: Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `row_identifier_type` 'id' | 'count': * `id` - Id * `count` - Count
    - `row_height_size` 'small' | 'medium' | 'large': * `small` - Small * `medium` - Medium * `large` - Large
    - `frozen_column_count` integer: Number of frozen columns including the primary field.
    - `group_by_layout` 'section' | 'column': * `section` - Section * `column` - Column
    - `public` boolean: Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required: The unique slug that can be used to construct a public URL.
  - GalleryViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required: Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required: The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required: The field of which the value must be compared to the filter value.
      - `type` string, required: Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string: The filter value that must be compared to the field's value.
      - `preload_values` object, required: Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable: The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
      - `view` integer, required: The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required: The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required: The field that must be sorted on.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required: The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required: The field that must be grouped by.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `width` integer: The pixel width of the group by in the related view.
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer: The view to which the decoration applies. Each view can have his own decorations.
      - `type` string: The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string: The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer: The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean: Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required: The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable: Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean: Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required: Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean: Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `card_cover_image_field` integer, nullable: References a file field of which the first image must be shown as card cover image.
    - `public` boolean: Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required: The unique slug that can be used to construct a public URL.
  - FormViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required: Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required: The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required: The field of which the value must be compared to the filter value.
      - `type` string, required: Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string: The filter value that must be compared to the field's value.
      - `preload_values` object, required: Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable: The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
      - `view` integer, required: The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required: The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required: The field that must be sorted on.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required: The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required: The field that must be grouped by.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `width` integer: The pixel width of the group by in the related view.
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer: The view to which the decoration applies. Each view can have his own decorations.
      - `type` string: The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string: The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer: The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean: Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required: The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable: Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean: Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required: Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean: Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `title` string: The title that is displayed at the beginning of the form.
    - `description` string: The description that is displayed at the beginning of the form.
    - `mode` 'form' | 'survey': * `form` - form * `survey` - survey
    - `cover_image` UserFile
      - `size` integer, required
      - `mime_type` string
      - `is_image` boolean
      - `image_width` integer, nullable
      - `image_height` integer, nullable
      - `uploaded_at` string, date-time, required
      - `url` string, uri, required
      - `thumbnails` object, required
      - `name` string, required
      - `original_name` string, required
    - `logo_image` UserFile
      - `size` integer, required
      - `mime_type` string
      - `is_image` boolean
      - `image_width` integer, nullable
      - `image_height` integer, nullable
      - `uploaded_at` string, date-time, required
      - `url` string, uri, required
      - `thumbnails` object, required
      - `name` string, required
      - `original_name` string, required
    - `submit_text` string: The text displayed on the submit button.
    - `submit_action` 'MESSAGE' | 'REDIRECT': * `MESSAGE` - Message * `REDIRECT` - Redirect
    - `submit_action_message` string: If the `submit_action` is MESSAGE, then this message will be shown to the visitor after submitting the form.
    - `submit_action_redirect_url` union: If the `submit_action` is REDIRECT,then the visitors will be redirected to the this URL after submitting the form.
      - string, uri
      - string
    - `receive_notification_on_submit` boolean, required: A boolean indicating if the current user should be notified when the form is submitted.
    - `public` boolean: Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required: The unique slug that can be used to construct a public URL.
  - KanbanViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required: Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required: The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required: The field of which the value must be compared to the filter value.
      - `type` string, required: Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string: The filter value that must be compared to the field's value.
      - `preload_values` object, required: Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable: The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
      - `view` integer, required: The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required: The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required: The field that must be sorted on.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required: The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required: The field that must be grouped by.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `width` integer: The pixel width of the group by in the related view.
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer: The view to which the decoration applies. Each view can have his own decorations.
      - `type` string: The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string: The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer: The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean: Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required: The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable: Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean: Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required: Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean: Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `single_select_field` integer, nullable
    - `card_cover_image_field` integer, nullable: References a file field of which the first image must be shown as card cover image.
    - `public` boolean: Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required: The unique slug that can be used to construct a public URL.
  - CalendarViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required: Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required: The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required: The field of which the value must be compared to the filter value.
      - `type` string, required: Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string: The filter value that must be compared to the field's value.
      - `preload_values` object, required: Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable: The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
      - `view` integer, required: The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required: The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required: The field that must be sorted on.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required: The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required: The field that must be grouped by.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `width` integer: The pixel width of the group by in the related view.
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer: The view to which the decoration applies. Each view can have his own decorations.
      - `type` string: The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string: The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer: The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean: Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required: The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable: Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean: Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required: Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean: Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `date_field` integer, nullable
    - `ical_feed_url` string, required: Read-only field with ICal feed endpoint. Note: this url will not be active if ical_public value is set to False.
    - `ical_public` boolean, nullable: A flag to show if ical feed is exposed. Set this field to True when modifying this resource to enable ICal feed url.
    - `public` boolean: Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required: The unique slug that can be used to construct a public URL.
  - TimelineViewView
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required
    - `type` string, required
    - `table` TableWithoutDataSync, required
      - `id` integer, required
      - `name` string, required
      - `order` integer, required: Lowest first.
      - `database_id` integer, required
    - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
    - `filters` ViewFilter[]
      - `id` integer, required
      - `view` integer, required: The view to which the filter applies. Each view can have his own filters.
      - `field` integer, required: The field of which the value must be compared to the filter value.
      - `type` string, required: Indicates how the field's value must be compared to the filter's value. The filter is always in this order `field` `type` `value` (example: `field_1` `contains` `Test`).
      - `value` string: The filter value that must be compared to the field's value.
      - `preload_values` object, required: Can contain unique preloaded values per filter. This is for example used by the `link_row_has` filter to communicate the display name if a value is provided.
      - `group` integer, nullable: The id of the filter group this filter belongs to. If this is null, the filter is not part of a filter group.
    - `filter_groups` ViewFilterGroup[]
      - `id` integer, required
      - `filter_type` 'AND' | 'OR': * `AND` - And * `OR` - Or
      - `view` integer, required: The view to which the filter group applies to. Each view can have its own filter groups.
      - `parent_group` integer, nullable
    - `sortings` ViewSort[]
      - `id` integer, required
      - `view` integer, required: The view to which the sort applies. Each view can have his own sortings.
      - `field` integer, required: The field that must be sorted on.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.
    - `group_bys` ViewGroupBy[]
      - `id` integer, required
      - `view` integer, required: The view to which the group by applies. Each view can have his own group bys.
      - `field` integer, required: The field that must be grouped by.
      - `order` 'ASC' | 'DESC': * `ASC` - Ascending * `DESC` - Descending
      - `width` integer: The pixel width of the group by in the related view.
      - `type` string: Indicates the sort type. Will automatically fall back to `default` if incompatible with field type.
      - `priority` integer, required: Position of this group by in the ordering chain. The group by with the lowest priority is applied first.
    - `decorations` ViewDecoration[]
      - `id` integer, required
      - `view` integer: The view to which the decoration applies. Each view can have his own decorations.
      - `type` string: The decorator type. This is then interpreted by the frontend to display the decoration.
      - `value_provider_type` string: The value provider type that gives the value to the decorator.
      - `value_provider_conf` unknown
      - `order` integer: The position of the decorator has within the view, lowest first. If there is another decorator with the same order value then the decorator with the lowest id must be shown first.
    - `default_row_values` ViewDefaultValue[]
      - `id` integer, required
      - `field` integer, required
      - `enabled` boolean: Whether this default value is active.
      - `value` unknown
      - `field_type` string, nullable, required: The field type identifier at the time the value was stored. Used to detect incompatibility when the field type changes.
      - `function` string, nullable: Optional function name (e.g. 'now') to resolve the default value dynamically at row creation time instead of using the stored value.
    - `filters_disabled` boolean: Allows users to see results unfiltered while still keeping the filters saved for the view.
    - `public_view_has_password` boolean, required: Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
    - `show_logo` boolean
    - `allow_public_export` boolean: Indicates whether it's allowed to export a publicly shared view.
    - `ownership_type` string, required
    - `owned_by_id` integer
    - `start_date_field` integer, nullable
    - `end_date_field` integer, nullable
    - `timescale` 'day' | 'week' | 'month' | 'year': * `day` - Day * `week` - Week * `month` - Month * `year` - Year
    - `public` boolean: Indicates whether the view is publicly accessible to visitors.
    - `slug` string, required: The unique slug that can be used to construct a public URL.

## Other responses

- `400`
- `404`

## Changes

- **2026-10-08** `8afc69805528`: 3 breaking
  - the `oneOf[#/components/schemas/FormViewView]/submit_action_redirect_url` response property's maxLength was unset from `2000` for the response status `200`
  - added `subschema #1, subschema #2` to the `oneOf[#/components/schemas/FormViewView]/submit_action_redirect_url` response property `oneOf` list for the response status `200`
  - the `oneOf[#/components/schemas/FormViewView]/submit_action_redirect_url` response's property type changed from `string` to no type, and format from `uri` to no format for status `200`
- **2026-09-30** `e81714236040`: 2 info
  - the endpoint scheme security `UserSource JWT` was removed from the API
  - added the optional property `oneOf[#/components/schemas/GridViewView]/group_by_layout` to the response with the `200` status
- **2026-09-10** `080cbfcbfcc0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/baserow/apis/baserow-api-spec/changes/api/database/views/:view_id/copy-configuration/post.md)

---

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