Policy > Infra > Hierarchical API

Update the infra including all the nested entities

Update the infra including all the nested entities This API is available when using VMware Cloud on AWS or VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Infra+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra { "display_name": "infra", "path": "/infra", "relative_path": "infra", "connectivity_strategy": "NONE", "_revision": 0 }

Successful Response:

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

Example Response:

{ "resource_type": "Infra", "id": "infra", "display_name": "infra", "path": "/infra", "relative_path": "infra", "connectivity_strategy": "NONE", "_create_user": "system", "_create_time": 1517296394552, "_last_modified_user": "system", "_last_modified_time": 1517296394552, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

infra_admin

Additional Errors: