searchOrgVars
Search vars
Example: /api/v1/orgs/{org_id}/vars/search?vars=*
Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.
Format:
Authorization: Token {apitoken}
Notes:
- An API token generated for a specific admin has the same privileges as that admin
- An API token is automatically removed if it is not used for more than 90 days
- SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.
In: header
Path Parameters
uuidQuery Parameters
Filter results by site identifier. Accepts multiple comma-separated values.
Filter variable results by variable name. Accepts multiple comma-separated values.
Filter results by source. enum: deviceprofile, site
Value in
- "deviceprofile"
- "site"
Maximum number of results to return per page
0 <= value100On which field the list should be sorted, -prefix represents DESC order
"timestamp"Pagination cursor for retrieving subsequent pages of results. This value is automatically populated by Mist in the next URL from the previous response and should not be manually constructed.
Response Body
curl -X GET "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/vars/search"{ "end": 1693952979, "limit": 10, "results": [ { "created_time": 1618457655.384858, "modified_time": 1693610886.477805, "org_id": "0c160b7f-1027-4cd1-923b-744534c4b070", "site_id": "1519f016-4e41-47c0-a396-cce4d04bac0b", "src": "site", "var": "mvp" } ], "start": 1693949379, "total": 1}