---
title: "Changes to Validate document by clusters"
method: POST
path: "/api/dataentities/{dataEntityName}/documents/{id}/clusters"
---

# Changes to Validate document by clusters

`POST /api/dataentities/{dataEntityName}/documents/{id}/clusters`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 62 revisions.

- **2023-10-19** `5bf3265c027c`: 1 breaking, 2 info

## Changes

- **2023-10-19** `5bf3265c027c`: 1 breaking, 2 info
  - the request's body type changed from `string` to `array`, and format from `json` to no format
  - the request body `application/json` default value `[ { "name": "male", "rule": "gender=male" }, { "name": "complex", "rule": "((gender=male AND percent=0.35) AND any is null) AND (name=*go*)" }, { "name": "complex2", "rule": "((gender=male AND percent=0.35) AND any is not null) OR (name=*go*)" }, { "name": "createdIn", "rule": "createdIn between 2015-10-28 AND 2015-10-30" } ]` was removed
  - added the media type `application/json` for the response with the status `200`

---

[Operation](https://skmtc.dev/vtex/apis/master-data-api-v2/docs/api/dataentities/:dataEntityName/documents/:id/clusters/post.md) - [API](https://skmtc.dev/vtex/apis/master-data-api-v2.md) - [Page](https://skmtc.dev/vtex/apis/master-data-api-v2/changes/api/dataentities/:dataEntityName/documents/:id/clusters/post)
