User

Replace mutable segment fields

When filters_json is present it follows UserSegmentFilters. Invalid or legacy fields return 400; unsupported indexed combinations return 422.

put/api/v1/user/segments/{id}

Path parameters

idinteger required

Headers

X-CSRF-Tokenstring required

Fresh token returned by GET /api/v1/user/me for this authenticated session.

Request body

namestring
descriptionstring
iconstring nullable
pinnedboolean

Response

Updated

okboolean required

Changes