---
title: "Changes to Create New Cookie Consent Rules"
method: POST
path: "/v1/cookie-consent/rules"
---

# Changes to Create New Cookie Consent Rules

`POST /v1/cookie-consent/rules`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 7 revisions.

- **2026-11-06** `ac31099cf83e`: 1 breaking, 4 warning, 1 info
- **2026-05-12** `4fc37598750d`: 1 breaking, 5 info
- **2025-10-11** `5ab36f60b5d0`: 1 breaking, 1 warning, 7 info

## Changes

- **2026-11-06** `ac31099cf83e`: 1 breaking, 4 warning, 1 info
  - added `subschema #1, subschema #2` to the `items/items/` response property `oneOf` list for the response status `200`
  - removed the request property `cookies/items/allOf[#/components/schemas/CmpCookieRule]/allOf[#/components/schemas/CmpRule]/ruleType`
  - removed the request property `iframes/items/allOf[#/components/schemas/CmpRule]/ruleType`
  - removed the request property `localStorage/items/allOf[#/components/schemas/CmpRule]/ruleType`
  - removed the request property `scripts/items/allOf[#/components/schemas/CmpRule]/ruleType`
  - removed `subschema #1, subschema #2` from the `items/items/` response property `oneOf` list for the response status `200`
- **2026-05-12** `4fc37598750d`: 1 breaking, 5 info
  - added `subschema #1, subschema #2` to the `items/items/` response property `oneOf` list for the response status `200`
  - added the new optional request property `cookies/items/allOf[#/components/schemas/CmpCookieRule]/allOf[#/components/schemas/CmpRule]/ruleType`
  - added the new optional request property `iframes/items/allOf[#/components/schemas/CmpRule]/ruleType`
  - added the new optional request property `localStorage`
  - added the new optional request property `scripts/items/allOf[#/components/schemas/CmpRule]/ruleType`
  - removed `subschema #1, subschema #2` from the `items/items/` response property `oneOf` list for the response status `200`
- **2025-10-11** `5ab36f60b5d0`: 1 breaking, 1 warning, 7 info
  - added `subschema #1, subschema #2` to the `items/items/` response property `oneOf` list for the response status `200`
  - removed the request property `cookies/items/allOf[#/components/schemas/CmpCookieRule]/allOf[subschema #2]/disclosure`
  - added the new optional request property `cookies/items/allOf[#/components/schemas/CmpCookieRule]/allOf[#/components/schemas/CmpRule]/disclosure`
  - added the new optional request property `cookies/items/allOf[#/components/schemas/CmpCookieRule]/allOf[#/components/schemas/CmpRule]/title`
  - added the new optional request property `iframes/items/allOf[#/components/schemas/CmpRule]/disclosure`
  - added the new optional request property `iframes/items/allOf[#/components/schemas/CmpRule]/title`
  - added the new optional request property `scripts/items/allOf[#/components/schemas/CmpRule]/disclosure`
  - added the new optional request property `scripts/items/allOf[#/components/schemas/CmpRule]/title`
  - removed `subschema #1, subschema #2` from the `items/items/` response property `oneOf` list for the response status `200`

---

[Operation](https://skmtc.dev/osano/apis/osano-api-reference/docs/v1/cookie-consent/rules/post.md) - [API](https://skmtc.dev/osano/apis/osano-api-reference.md) - [Page](https://skmtc.dev/osano/apis/osano-api-reference/changes/v1/cookie-consent/rules/post)
