Use this method to archive an audience segment. This action is instantaneous and once archived, it cannot be reactivated. The segment will also not visible in the VIant DSP UI for any future targeting.
Endpoint:
PUT /v1/audiences/{viantSegmentId}?action=expireSegment
Request Body:
{
"action": "expireSegment",
"viantSegmentId": "fpsegm123123123"
}Response (Success):
{
"message": "Segment successfully archived",
"segmentId": "fpsegm123123123",
"status": "ARCHIVED"
}Response (Failure):
{
"error": "error message"
}