Policy > Infra > Enforcement Points

Patch a new Enforcement Point under infra (Deprecated)

If the passed Enforcement Point does not already exist, create a new Enforcement Point.
If it already exists, patch it.
This is a deprecated API. DeploymentZone has been renamed to Site.
Use PATCH /infra/sites/site-1/enforcement-points/enforcementpoint-1.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/deployment-zones/<deployment-zone-id>/enforcement-points/<enforcementpoint-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
EnforcementPoint+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/deployment-zones/default/enforcement-points/nsxt-ep { "connection_info": { "enforcement_point_address":"10.192.201.163", "resource_type":"NSXTConnectionInfo", "username":"admin", "password":"Admin!23Admin", "thumbprint":"f53d7052535613b3032a41d555631228cb4d0d8b584a8225b94fbf0ba83eb9a4", "transport_zone_ids": [ "992759f9-434a-45ea-9347-2ff45fba1f31" ], "edge_cluster_ids": [ "ad79b022-69bd-4bd9-969a-273627690bd9" ] } }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

infra_admin

Additional Errors: