---
title: "Check Property Clash"
method: POST
path: "/admin/property/check-clash"
tags: ["Admin - Property Management"]
---

# Check Property Clash

`POST /admin/property/check-clash`

## Request

- Base URL: `https://api.folksonomy.openfoodfacts.org`
- URL: `https://api.folksonomy.openfoodfacts.org/admin/property/check-clash`
- Auth: OAuth 2
  - Password
  - Token URL: `auth`

Check for potential clashes when renaming a property

Returns information about products that would be affected by the rename:
- **old_property**: The current property name
- **new_property**: The target property name

Returns counts and list of conflicting products where both properties exist

## Request body

- PropertyClashCheckRequest
  - `old_property` string, required
  - `new_property` string, required

## Response `200`

Successful Response

- PropertyClashCheck
  - `products_with_both` integer, required
  - `products_with_old_only` integer, required
  - `products_with_new_only` integer, required
  - `conflicting_products` unknown[], required
    - unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openfoodfacts/apis/open-food-facts-folksonomy-rest-api.md) - [All operations](https://skmtc.dev/openfoodfacts/apis/open-food-facts-folksonomy-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openfoodfacts/apis/open-food-facts-folksonomy-rest-api/revisions/ecf11a0df87a?raw)
