NSX-T Data Center REST API

Update the PROJECT

Update the Project.
For local Project, local transport zone and edge clusters needs to be added.
This API is only available when using VMware NSX.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Project+

Example Request:

{ "display_name": "project-1-modified", "site_infos": [ { "edge_cluster_paths": [ "/infra/sites/default/enforcement-points/default/edge-clusters/80788b6c-e834-42ae-aabb-3e49cff56e5c" ], "site_path": "/infra/sites/default" } ], "tier_0s": [ "/infra/tier-0s/pepsi", "/infra/tier-0s/pepsi_remote" ], "external_ipv4_blocks":["/infra/ip-blocks/public"], "_revision": 0 }

Successful Response:

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

Example Response:

{ "default": false, "site_infos": [ { "edge_cluster_paths": [ "/infra/sites/default/enforcement-points/default/edge-clusters/80788b6c-e834-42ae-aabb-3e49cff56e5c" ], "site_path": "/infra/sites/default" } ], "tier_0s": [ "/infra/tier-0s/pepsi_remote", "/infra/tier-0s/pepsi" ], "external_ipv4_blocks": [ "/infra/ip-blocks/public" ], "short_id": "57771797", "resource_type": "Project", "id": "project-1", "display_name": "project-1-modified", "path": "/orgs/default/projects/project-1", "relative_path": "project-1", "parent_path": "/orgs/default", "unique_id": "e9e0ce4a-af41-4dd9-96ba-6822e3136ec2", "realization_id": "e9e0ce4a-af41-4dd9-96ba-6822e3136ec2", "owner_id": "5e3efe35-eca0-4c4c-9f1e-655046a84779", "origin_site_id": "5e3efe35-eca0-4c4c-9f1e-655046a84779", "marked_for_delete": false, "overridden": false, "_create_time": 1660226760658, "_create_user": "admin", "_last_modified_time": 1660399041880, "_last_modified_user": "admin", "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

crud

Feature:

policy_project

Additional Errors: