NSX-T Data Center REST API
Create or update Gateway Policy
If a GatewayPolicy with the policy-id is not already present,create a new GatewayPolicy. If it already exists, update the GatewayPolicy.
This is a full replace.
Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/gateway-policies/{gateway-policy-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
GatewayPolicy+
Example Request:
PATCH https://<policy-mgr>/policy/api/v1/orgs/default/projects/project-1/vpcs/vpc-1/gateway-policies/test { "display_name": "Test Policy", "description": "This is Test VPC policy patch operation", "sequence_number": 1 }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a