NSX-T Data Center REST API

Create or update PROJECT

If a Project with the project-id is not already present, create a new Project.
If it already exists, update the Project.
This API is only available when using VMware NSX.

Request:

Method:
PATCH
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:

{ "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"] }

Successful Response:

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

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_project

Additional Errors: