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}
JWTsegment:write
Path parameters
idstringrequired
Unique identifier for the segment.
Request body
namestring
Name of the segment. Any printable characters, including letters from any script, punctuation and emoji. Cannot contain line breaks, tabs, other control characters, invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.
Length: [1,256]Pattern: ^(?!\s)(?!.*\s$)[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$
resourcestring
Name of the resource.
filtersarray of object
Filter for the segment.
Response
200
400
401
403
404
429
500
200 OK
idstringrequired
createdAtstringrequired
Format: date-time
updatedAtstringrequired
Format: date-time
namestringrequired
resourcestringrequired
filtersarray of objectrequired