---
title: "Changes to UpsertDataPolicy"
method: POST
path: "/v1alpha/data-policies"
---

# Changes to UpsertDataPolicy

`POST /v1alpha/data-policies`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 70 revisions.

- **2024-02-13** `ebae64971b7c`: 1 warning, 1 info
- **2024-01-29** `48511c3bebbb`: 12 info
- **2024-01-26** `7569cbc2340d`: 3 breaking, 6 warning, 3 info
- **2023-12-20** `5d53ddeb8184`: 2 info
- **2023-12-15** `0006dd8ef0f4`: 2 info
- **2023-11-29** `8ae5870420f4`: 1 info

## Changes

- **2024-02-13** `ebae64971b7c`: 1 warning, 1 info
  - added the new `DBT_SQL` enum value to the `dataPolicy/ruleSets/items/target/type` response property for the response status `200`
  - added the new `DBT_SQL` enum value to the request property `dataPolicy/ruleSets/items/target/type`
- **2024-01-29** `48511c3bebbb`: 12 info
  - added the new optional request property `dataPolicy/ruleSets/items/fieldTransforms/items/transforms/items/principals/items/permission`
  - added the new optional request property `dataPolicy/ruleSets/items/fieldTransforms/items/transforms/items/principals/items/role`
  - added the new optional request property `dataPolicy/ruleSets/items/filters/items/genericFilter/conditions/items/principals/items/permission`
  - added the new optional request property `dataPolicy/ruleSets/items/filters/items/genericFilter/conditions/items/principals/items/role`
  - added the new optional request property `dataPolicy/ruleSets/items/filters/items/retentionFilter/conditions/items/principals/items/permission`
  - added the new optional request property `dataPolicy/ruleSets/items/filters/items/retentionFilter/conditions/items/principals/items/role`
  - added the optional property `dataPolicy/ruleSets/items/fieldTransforms/items/transforms/items/principals/items/permission` to the response with the `200` status
  - added the optional property `dataPolicy/ruleSets/items/fieldTransforms/items/transforms/items/principals/items/role` to the response with the `200` status
  - added the optional property `dataPolicy/ruleSets/items/filters/items/genericFilter/conditions/items/principals/items/permission` to the response with the `200` status
  - added the optional property `dataPolicy/ruleSets/items/filters/items/genericFilter/conditions/items/principals/items/role` to the response with the `200` status
  - added the optional property `dataPolicy/ruleSets/items/filters/items/retentionFilter/conditions/items/principals/items/permission` to the response with the `200` status
  - added the optional property `dataPolicy/ruleSets/items/filters/items/retentionFilter/conditions/items/principals/items/role` to the response with the `200` status
- **2024-01-26** `7569cbc2340d`: 3 breaking, 6 warning, 3 info
  - added `#/components/schemas/ResourceUrn` to the `dataPolicy/source/ref` request property `allOf` list
  - the `dataPolicy/source/ref` request property type changed from `string` to no type
  - the `dataPolicy/source/ref` response's property type changed from `string` to no type for status `200`
  - removed the request property `dataPolicy/id`
  - removed the request property `dataPolicy/platform`
  - removed the request property `dataPolicy/ruleSets/items/target/fullname`
  - removed the optional property `dataPolicy/id` from the response with the `200` status
  - removed the optional property `dataPolicy/platform` from the response with the `200` status
  - removed the optional property `dataPolicy/ruleSets/items/target/fullname` from the response with the `200` status
  - added the new optional request property `dataPolicy/ruleSets/items/target/ref`
  - added the optional property `dataPolicy/ruleSets/items/target/ref` to the response with the `200` status
  - added `#/components/schemas/ResourceUrn` to the `dataPolicy/source/ref` response property `allOf` list for the response status `200`
- **2023-12-20** `5d53ddeb8184`: 2 info
  - added the new optional request property `dataPolicy/ruleSets/items/fieldTransforms/items/transforms/items/numericRounding/allOf[#/components/schemas/Transform_NumericRounding]/round/allOf[#/components/schemas/NumericRounding_Round]/divisor`
  - added the optional property `dataPolicy/ruleSets/items/fieldTransforms/items/transforms/items/numericRounding/allOf[#/components/schemas/Transform_NumericRounding]/round/allOf[#/components/schemas/NumericRounding_Round]/divisor` to the response with the `200` status
- **2023-12-15** `0006dd8ef0f4`: 2 info
  - added the new optional request property `dataPolicy/ruleSets/items/fieldTransforms/items/transforms/items/aggregation`
  - added the optional property `dataPolicy/ruleSets/items/fieldTransforms/items/transforms/items/aggregation` to the response with the `200` status
- **2023-11-29** `8ae5870420f4`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/getstrm/apis/pace-api/docs/v1alpha/data-policies/post.md) - [API](https://skmtc.dev/getstrm/apis/pace-api.md) - [Page](https://skmtc.dev/getstrm/apis/pace-api/changes/v1alpha/data-policies/post)
