NSX-T Data Center REST API

Download exported file

Download the exported file generated from the last export task. The request
should 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
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/octet-stream
Response Body:
n/a

Example Response:

zipped file containing the exported configuration in CSV format.

Required Permissions:

read

Feature:

policy_dfw

Additional Errors: