NSX-T Data Center REST API
Create or update a domain
If a domain with the domain-id is not already present, create a newdomain. If it already exists, update the domain including the nested
groups. This is a full replace
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/domains/{domain-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Domain+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/domains/vmc { "description": "VMC Domain", "display_name": "VMC domain", "_revision":0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
Domain+