Set Geo Blocking Policy

This API is used to set geo blocking policy under this domain.

Request Definition

  • API URL:
https://lsdn-api.swiftfederation.com/v1.0/domains/{domainId}/geo_blocking_policy
  • Request Method:
PUT
  • Request Header:

Refer to HTTP Request Headers

  • Request Body:

Request Body Data Format: JSON

Field Type Description
type String BLACK_LIST, WHITE_LIST
countryCodes List\ Collection of ISO 3166-1 ALPHA-2 country codes.
  • Request Body Example
{
    "type": "BLACK_LIST",
    "countryCodes": [
      "CN",
      "US"
    ]
}


Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
No response body for this API.
© 2018 Conversant Solutions Pte Ltd. All rights reserved.            Updated 2021-12-09 06:49:11

results matching ""

    No results matching ""