Policy > Security > Service Insertion > Virtual Endpoints > Tier-0 Gateways

Create or update virtual endpoint

Create or update virtual endpoint.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/endpoints/virtual-endpoints/<virtual-endpoint-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
VirtualEndpoint+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc/locale-services/default/endpoints/virtual-endpoints/VEP_1 { "resource_type": "VirtualEndpoint", "display_name": "VEP_1", "target_ips": [ { "ip_addresses": [ "111.111.112.11" ], "prefix_length": 32 } ], "service_names": [ "HCX_Service" ] }

Successful Response:

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

Required Permissions:

crud

Feature:

policy_si

Additional Errors: