NSX-T Data Center REST API
Download exported file
Download the exported file generated from the last export task. The requestshould have proper headers set to download the file. Please add the below
two headers, if it is not already present
Accept application/json, text/plain, */*
Accept-Encoding gzip, deflate, br
Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/settings/firewall/export?action=download
/policy/api/v1/global-infra/settings/firewall/export?action=download
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/settings/firewall/export?action=download
/policy/api/v1/global-infra/settings/firewall/export?action=download
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/settings/firewall/export?action=download
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/settings/firewall/export?action=downloadSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/octet-stream
Response Body:
n/a