Skip to main content

Get domain list entries

GET 

/domains/:domain/lists/:listname

Get all of the blocklist or safelist entries for a domain.

Request

Path Parameters

    domain hostnamerequired

    The domain name to be removed.

    listname stringrequired

    Possible values: [blocklist, safelist, blacklist, whitelist]

    The name of the list to add an entry to. One of 'safelist' or 'blocklist'. 'whitelist' and 'blacklist' are deprecated

Responses

Successfully retrieved the items

Schema

  • Array [

  • item string

    The value of this entry. The meaning of this value depends on the item_type.

    item_type string

    The item type.

    action string

    Which list this entry is on, e.g. safelist or blocklist.

  • ]

Loading...