Policy > Networking > Connectivity > Tier-1 Gateways > Tier-1 Gateways

Create or update tier-1 configuration

If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
If it already exists, replace the Tier-1 instance with this object.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Tier1+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw { "tier0_path": "/infra/tier-0s/vmc_prv", "_revision": 0 }

Successful Response:

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

Example Response:

{ "resource_type": "Tier1", "id": "cgw", "display_name": "/infra/tier-1s/cgw", "path": "/infra/tier-1s/cgw", "parent_path": "/infra/tier-1s/cgw", "relative_path": "cgw", "tier0_path": "/infra/tier-0s/vmc_prv", "force_whitelisting": false, "_create_user": "admin", "_create_time": 1516668826912, "_last_modified_user": "admin", "_last_modified_time": 1516668826912, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_t1

Additional Errors: