Log in to ask questions, share your expertise, or stay connected to content. Don’t have a login? Join now.
clearpass regex filter is not working for me, got 422 response. RestAPI call below.
RestAPI Call
https://{{clearpass_ip}}:443/api/network-device?filter={"name":{"$regex":"AR2MT102"}}
https://{{clearpass_ip}}:443/api/network-device?filter={"name":{"$regex":"AR2MT102", "$options":"i"}}
API response
{
"validation_messages": "err.general",
"type": http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html,
"title": "Unprocessable Entity",
"status": 422,
"detail": ""
}
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.