Delete all whitelists of an advertiser

HTTP method

Endpoint

DELETE

/v1/advertisers/{advertiser_id}/advertiser_whitelists

Path parameters

Parameter

Description

advertiser_id

The unique id for the advertiser.

Response body parameters

Field

Type

Description

is_open

integer

open whitelist. 0 close ; 1 open

ip_address

array

ip address

ip_range

array

ip range

Example request

Request DELETE https://{networkname}.api.offerslook.com/v1/advertisers/4988/advertiser_whitelists

Request DELETE http://{networkname}.api.offerslook.com/v1/advertisers/4988/advertiser_whitelists

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "advertiser_whitelist": {
          "advertiser_id": 4988,
          "is_open": 0,
          "ip_address": null,
          "ip_range": null
        }
      }
    }

Last updated