NSX-T Data Center REST API
Update the VPC attachment
Update the VPC attachment.This API is only available when using VMware NSX.
Request:
Method:
PUT
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:
PUT 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:
Content-type: application/json
Response Body:
VpcAttachment+