Update a segment
Updates the specified segment by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
PATCH/v3/segments/{id}
JWT
segment:write
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| id* | string | path | Unique identifier for the segment. |
Request Body Schema
| Property | Type | Description | Constraints |
|---|---|---|---|
| name | string | Name of the segment. | min: 1, max: 256 |
| resource | string | Name of the resource. | |
| filters | array | Filter for the segment. | items: object |
| property* | string | Name of the property. | min: 1, max: 256 |
| operator* | string | Name of the operator. | min: 1, max: 256 |
| value* | string | Value of the property. | min: 1, max: 256 |
Request Example
Responses
200
400
401
403
404
429
500