Segments
Add/Remove segment in/from the exclusion list
Changed onAdds/Removes the passed segment id in/from the exclusion list. Exclusion list allows to exclude all the users from the segment during the export job. Pass auth_id to scope the exclusion to one authorization; workflow-level and auth-level exclusions are combined, never substituted.
post/segment/exclude/{operation}
Request
- Base URLhttps://api.lytics.io/v2
- URLhttps://api.lytics.io/v2/segment/exclude/{operation}
- AuthAPI key in header Authorization
Path parameters
operationstring required
Operation add or remove
Query parameters
account_idstring
The account ID. Defaults to the user's default account.
workflowstring
Workflow slug.
segment_idstring
Segment id. The segment that needs to be added/removed in/from the exclusion list.
auth_idstring
Authorization id. Scopes the exclusion to jobs delivering through this authorization. Omit workflow to apply it to every workflow using the authorization.
Response
OK
Changes
- info
endpoint added
- info