v2

latestOpenAPI 3.1.12026-07-2613060964.2 KB

Remove Subscribers from Draft List

API to remove users from the draft list by passing its version_id returned in Start Sync API response.

post/v1/subscriber_list/{list_id}/version/{version_id}/subscriber/remove/

Path parameters

list_idstring required

Unique string identifier of the list to which user needs to be updated

version_idstring required

Unique string identifier of the draft version of the list to which user needs to be updated

Request body

distinct_idsstring[]

Array of subscriber_ids, uniquely identifying the subscribers to be removed from the list.

Response

201

successboolean

Indicates whether the operation was successful.

affected_countinteger

Number of subscribers affected by the operation.

Example response

{
  "success": true,
  "affected_count": 2
}