NSX-T Data Center REST API

Adds/Removes custom attribute values from list

This API adds/removes custom attribute values from list for a given attribute key. The values in the
request will be added or removed from the existing list.

Request:

Method:
POST
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
Request Headers:
n/a
Query Parameters:
CustomAttributeAction+
Request Body:
PolicyCustomAttributes+

Example Request:

{ "key":"DOMAIN_NAME", "value":[ "*.customdomainname5.com", "*.customdomainname6.com" ], "datatype":"STRING" }

Successful Response:

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

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_context_profile

Additional Errors: