Security

 View Only
last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).

Clearpass API PATCH delete attributes

This thread has been viewed 7 times
  • 1.  Clearpass API PATCH delete attributes

    Posted May 31, 2022 08:09 AM
    I've had a bit of a search on this but couldn't find anything other than an example for the XML API, where setting attribute value to an empty string would apparently delete it (How to delete/modify an endpoint attribute using tips API? (arubanetworks.com)).

    Trying to achieve this with a PATCH request in the new?/json?/not sure what the differentiating name is? API.

    Setting an existing attribute to null isn't supported, setting to an empty string leaves it defined as an empty string (and still included in a GET with filter {"MyAttribute": {"$exists":true}} )

    In my case I want to delete custom attributes from an Endpoint, but would expect the action to be the same for other objects.

    Does anyone have other suggestions?

    ------------------------------
    Derek Smith
    ------------------------------