Policy > Inventory > Context Profiles

Update custom object attribute value list for given attribute key

This API updates custom attribute value list for given key.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/context-profiles/custom-attributes
/policy/api/v1/global-infra/context-profiles/custom-attributes
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PolicyAttributes+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/context-profiles/custom-attributes

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: