Segments
Get expiring targets for segment
Get a list of a segment's context targets that are scheduled for removal.
get/api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey}
Path parameters
projectKeystring string required
The project key
The project key
environmentKeystring string required
The environment key
The environment key
segmentKeystring string required
The segment key
The segment key
Response
Expiring context target response
Example response
{
"items": [
{
"_id": "12ab3c45de678910abc12345",
"_version": 1,
"contextKind": "user",
"contextKey": "context-key-123abc",
"targetType": "included",
"variationId": "cc4332e2-bd4d-4fe0-b509-dfd2caf8dd73",
"_resourceId": {
"environmentKey": "environment-key-123abc",
"key": "segment-key-123abc",
"projectKey": "project-key-123abc"
}
}
]
}