API Reference
PUT /api/admin/segments/
Create or update a user segment.
PUT
/
api
/
admin
/
segments
/
Body
application/json
workspaceId
string
name
string
definition
object
subscriptionGroupId
string
updatedAt
number
lastRecomputed
number
id
string
requiredResponse
200 - application/json
id
string
requiredworkspaceId
string
requiredname
string
requireddefinition
object
requiredsubscriptionGroupId
string
updatedAt
number
requiredlastRecomputed
number
createdAt
number
requireddefinitionUpdatedAt
number
required