NSX-T Data Center REST API
Update custom attribute value list for given attribute key.
This API updates custom attribute value list for given key in the request. This replaces theexisting list with the list provided in the request
Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/infra/context-profiles/custom-attributes/default
/policy/api/v1/global-infra/context-profiles/custom-attributes/default
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/context-profiles/custom-attributes/default
/policy/api/v1/global-infra/context-profiles/custom-attributes/default
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/context-profiles/custom-attributes/default
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PolicyCustomAttributes+
Example Request:
{ "key":"DOMAIN_NAME", "value":[ "*.customdomainname1.com", "*.customdomainname2.com" ], "datatype":"STRING" }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a