Skip to content

ADAS04 - Delete publisher segments

Request

Description

Deletes one or more publisher segments based on the provided segment IDs. This operation removes the segments and their associated populations.

Bodyapplication/json
segment_idsArray of strings, uniquerequired

A list of segment IDs to delete

Example:
[ "FASHIONISTA_01", "OUTDOOR_ENTHUSIAST_02" ]
curl -i -X DELETE \
  https://retailmedia.mirakl.net/api/v1/audiences/segments \
  -H 'Content-Type: application/json' \
  -d '{
    "segment_ids": [
      "FASHIONISTA_01",
      "OUTDOOR_ENTHUSIAST_02"
    ]
  }'

Responses

OK

Bodyapplication/json
deleted_countinteger, (int32)required

Number of segments successfully deleted

Example:2
Response
{ "deleted_count": 2 }