Policy > Infra > Domains > Domain

Patch a domain

If a domain with the domain-id is not already present, create a new
domain. If it already exists, patch the domain
This API is available when using VMware Cloud on AWS or VMware NSX-T.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/domains/<domain-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Domain+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/domains/vmc { "description": "VMC Domain Patched", "display_name": "VMC domain", "_revision":0 }

Successful Response:

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

Required Permissions:

crud

Feature:

domain_admin

Additional Errors: