NSX-T Data Center REST API
Get Geo IP Look Up
Gets Country Code for the IP Address provided.Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/geo-ip/look-up
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/geo-ip/look-up
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/geo-ip/look-up
Request Headers:
n/a
Query Parameters:
GeoIpLookUpParameters+
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/geo-ip/look-up?ip_address=40.40.40.10Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
GeoIpLookUp+