Policy > Networking > Connectivity > Tier-0 Gateways > Interfaces > Interfaces

Create or update a Tier-0 interface

If an interface with the interface-id is not already present, create a new
interface. If it already exists, update the interface for specified attributes.

Request:

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

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/locale-services/default/service-interfaces/to_internet { "subnets": [ { "ip_addresses": [ "35.1.1.1" ], "prefix_len": 24 } ], }

Successful Response:

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

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_t0

Additional Errors: