NSX-T Data Center REST API
Update Mac Discovery Profile
API will update Mac Discovery profile.This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
              PUT
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/mac-discovery-profiles/<mac-discovery-profile-id>
                  
/policy/api/v1/global-infra/mac-discovery-profiles/<mac-discovery-profile-id>
              
            /policy/api/v1/global-infra/mac-discovery-profiles/<mac-discovery-profile-id>
Request Headers:
                n/a
            Query Parameters:
    OverrideRequestParameters+
  Request Body:
    MacDiscoveryProfile+
  Example Request:
PUT https://<nsx-mgr>/policy/api/v1/infra/mac-discovery-profiles/mdp1 { "resource_type":"MacDiscoveryProfile", "display_name": "MacDiscoveryProfile", "description": "", "mac_change_enabled": true, "mac_learning_enabled": true, "unknown_unicast_flooding_enabled": false, "mac_limit_policy": "ALLOW", "mac_limit": 1, "_revision": 1 }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    MacDiscoveryProfile+