NSX-T Data Center REST API
Add a IP address to a IPSet (Deprecated)
Add/Remove an individual IP address to an IPSet.Deprecated: This API is deprecated. Please use policy API /infra/domains/
Request:
Method:
              POST
            URI Path(s):
              
                /api/v1/ip-sets/{ip-set-id}
                
              
            Request Headers:
                n/a
            Query Parameters:
    IPMemberAction+
  Request Body:
    IPAddressElement+
  Example Request:
POST https://<nsx-mgr>/api/v1/ip-sets/183e372b-854c-4fcc-a24e-05721ce89a60?action=add_ip { "ip_address":"192.23.243.1" } example_response: | { "ip_address": "192.23.243.1", "_revision": 2 } POST https://<nsx-mgr>/api/v1/ip-sets/183e372b-854c-4fcc-a24e-05721ce89a60?action=remove_ip { "ip_address":"192.23.243.1" } example_response: | { "ip_address": "192.23.243.1", "_revision": 2 }Successful Response:
Response Code:
                201 Created
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    IPAddressElement+