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