Admin - Property Management

Rename Property

Rename a property across all products

When renaming a property that already exists:

  • If both properties have the same value: keep one entry

  • If both properties have different values: keep the original property's value

  • old_property: The current property name

  • new_property: The target property name

post/admin/property/rename

Request

  • Base URL
    https://api.folksonomy.openfoodfacts.org
  • URL
    https://api.folksonomy.openfoodfacts.org/admin/property/rename
  • Auth
    OAuth 2
    Password
    Token URL: auth

Request body

old_propertystring required
new_propertystring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.