I am trying to filter tenants by the value of a variable.
I am using REST api “api/tenants/variableset-test” but I don’t know what’s the query parameters format.
Anyone can share examples of this rest api?
Thanks in advance.
Thanks for getting in touch!
Unfortunately, none of the API endpoints has a built-in filter for variable values, so, you would need to use some scripting to retrieve the relevant information and parse through it.
We do have a sample script that is designed to find variable values within project and library variable sets.
It may be a good starting point for you and hopefully not be too difficult to modify it to search through tenant variables instead.
Thanks, I will try this approach
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.