NSX-T Data Center REST API

Add a new object in the exclude list. (Deprecated)

Deprecated:
Use the following Policy API -
PUT|PATCH /policy/api/v1/infra/settings/firewall/security/exclude-list

Request:

Method:
POST
URI Path(s):
/api/v1/firewall/excludelist?action=add_member
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ResourceReference+

Example Request:

{ "target_id" : "5091f6ac-ada1-428c-b521-630bc0d55574", "target_type" : "LogicalSwitch" }

Successful Response:

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

Example Response:

{ "target_display_name": "app-tier-01", "is_valid": true, "target_type": "LogicalSwitch", "target_id": "5091f6ac-ada1-428c-b521-630bc0d55574" }

Required Permissions:

crud

Feature:

firewall_configuration

Additional Errors: