- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-01-2021 12:44 PM
I'm utilizing the REST API to pull all vaulted accounts (/PasswordVault/api/Accounts). Using the OData filter "safeName eq SafeName" returns accounts vaulted in a particular safe. However, when using "safeName ne SafeName" returns a "400 Bad Request" with the following error code:
"ErrorCode": "PASWS276E"
"ErrorMessage": "The format of the given filter is not supported."
The request looks like this:
https://<FQDN>/PasswordVault/api/Accounts?filter=safeName ne <SafeName>
I do not want to include accounts in the PasswordManager_Pending safe, but would rather not modify the permissions on the safe each time I need to run the script.
We're running 11.6 across the board.
Any help is appreciated...thanks!
03-02-2021 05:33 AM
believe 'eq' and 'gte' are the only operators for the filter parameter which are currently supported.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

