Update a segment
Changes only the fields sent: name, description or metadata. key cannot change. An archived segment cannot be changed. {segment} takes the segment’s seg_ ID or its key. A value starting seg_ is tried as a Paid ID first.
Authentication
Path parameters
The segment’s seg_ ID or its key.
Headers
This endpoint is in the segments=v1 beta. Send this header to use it.
Request
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Response
The type of object. Always segment.
When the segment was archived, or null. An archived segment stays readable, is removed from every customer, and keeps its key reserved.
Your stable name for the segment, 1 to 64 lowercase letters, digits and _. Unique on your account, archived segments included. Immutable. Accepted wherever a segment is named.
true for an object on a live account, false on a test account.
String key-value pairs of your own, up to 500 characters per value. Always updatable.