NSX-T Data Center REST API

Adds/Removes custom attribute values from list (Deprecated)

This API adds/removes custom attribute values from list for a given attribute key.
Deprecated: This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default to Adds/Removes custom attribute values from list

Request:

Method:
POST
URI Path(s):
/policy/api/v1/infra/context-profiles/custom-attributes
/policy/api/v1/global-infra/context-profiles/custom-attributes
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/context-profiles/custom-attributes
Request Headers:
n/a
Query Parameters:
CustomAttributeAction+
Request Body:
PolicyAttributes+

Successful Response:

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

Example Response:

{ "key":"DOMAIN_NAME", "value":[ "*.office365.com", "*.azure.com" ], "datatype":"STRING" }

Required Permissions:

crud

Feature:

policy_context_profile

Additional Errors: