NSX-T Data Center REST API

Update Geo IP Setting Configuration

This API can be used to activate or deactivate auto-download of Geo IP Bundle.
Once auto-download is activated, Geo IP Bundle will
be downloaded at regular intervals of 720 minutes (12 hrs).

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/geo-ip/setting
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
GeoIpSetting+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/geo-ip/setting { "auto_download": true, "_revision": 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
GeoIpSetting+

Example Response:

{ "auto_download": true, "id": "setting", "display_name": "Geo IP Setting", "path": "/infra/geo-ip/setting", "relative_path": "setting", "parent_path": "/infra", "marked_for_delete": false, "_create_user": "system", "_create_time": 1704810708438, "_last_modified_user": "admin", "_last_modified_time": 1704865193738, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

crud

Feature:

policy_edge_fw

Additional Errors: