Segment

Segment Batch Delete

Delete a Batch of segments


#   ids=1234         convert this to []string{"123"}
#   ids=[123,456]    convert this to []string{"123","456"}
#   ids=123,456      convert this to []string{"123","456"}
#   ids=123&ids=456  convert this to []string{"123","456"}
#   ids[]=123&ids[]=456  convert this to []string{"123","456"}  Note that we alias ids[] = ids


curl -s -XDELETE -H "Content-Type: application/json" \
  - H "Authorization: $LIOKEY" \
  "https://api.lytics.io/api/segment?ids=21decdea54052ea1285478ecac53d1ed,59e39389fbf738d75246749a6146d280" \
   | jq '.'


delete/api/segment/{segId}/scan

Request

  • Base URL
    https://api.lytics.io
  • URL
    https://api.lytics.io/api/segment/{segId}/scan
  • Auth
    API key in header Authorization

Path parameters

segIdstring required

segment Id in path

Query parameters

account_idstring

Your Lytics account ID.

idstring

segment Id in querystring instead of path then use api/segment/scan

limitinteger

num of rows to return per call, default = 10, max = 100

splitsstring

1,2,3 comma seperated list of ints 0-99 for a-b split testing (a=1,5,8 )

startinteger

optional ID of a previous segment scan to resume, must be recent this is retrieved from the next parameter in JSON response

metaboolean

optional boolean, whether to include schema in response

sortfieldstring

field to sort on

sortorderstring

[desc,asc]

recentboolean

short cut for last visit timestamp desc [t,true,]

segmentsstring

JSON of ad-hoc segment, or pass this in http Body

fieldsstring

list of fields to include in response

Response

No Content

Changes

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