Segments

Update a segment

Update a segment's editable metadata, such as its name. To change who's in the segment, add or remove members with Add a member and Remove a member. Requires the segments:write capability.

patch/segments/{id}

Request

  • Base URL: https://www.unitpost.com/api/v1
  • URL: https://www.unitpost.com/api/v1/segments/{id}
  • Auth: HTTP bearer

Request body

namestring
descriptionstring nullable
filterSchema0 (unresolved $ref)

Response

The updated segment.

object'segment' required
idstring required
namestring required
descriptionstring nullable required
type'static' | 'dynamic' required
filterSchema0 required(unresolved $ref)
created_atstring required
updated_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.