NSX-T Data Center REST API

Update VPC Attachment

Each VPC has one attachment. This API will update the VPC attachment.
This API is only available when using VMware NSX.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/attachments/{vpc-attachment-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
VpcAttachment+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/orgs/default/projects/project-1/vpcs/vpc-1/attachments/vpc-attachment-1 { "vpc_connectivity_profile": "/orgs/default/projects/project-1/vpc-connectivity-profiles/production_vpc1_connectivity_profile" }

Successful Response:

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

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_vpc_attachment

Additional Errors: