---
title: "Update Property Based Segmentation"
method: POST
path: "/{databaseId}/segmentations/property-based/{segmentationId}"
tags: ["Segmentations Definition"]
---

# Update Property Based Segmentation

`POST /{databaseId}/segmentations/property-based/{segmentationId}`

Updates a Property Based Segmentation

## Path parameters

- `databaseId` string, required
- `segmentationId` string, required

## Request body

- UpdatePropertyBasedSegmentationParameters
  - `propertyName` string — Name of the property on which the Segmentation should be based
  - `title` string — Human-readable name that is shown in the Recombee Admin UI.
  - `description` string — Description that is shown in the Recombee Admin UI.

## Response `201`

successful operation

## Other responses

- `400` — segmentationId does not match ^[a-zA-Z0-9_\-:@\.]+$, property is not of supported type (`string` or `set`).
- `404` — Property does not exist. Segmentation with given ID does not exist.

---

[API](https://skmtc.dev/recombee/apis/recombee-api.md) · [All operations](https://skmtc.dev/recombee/apis/recombee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/recombee/recombee-api/revisions/a9c9c33eb2e8/schema)
