zdx_list_departments
List ZDX departments as id/name pairs. Use the returned id as a department_id scope filter for other ZDX tools. Optionally filter by hours.
Instructions
List ZDX departments as curated id/name rows.
Read-only. Use a returned id as the department_id scope filter on other
ZDX tools. since is in HOURS (default 2h).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional JMESPath expression applied to the results after the API call, for client-side filtering and projection. Field names are exactly what the Zscaler API returns. Examples: "[?enabled==`true`]", "[*].{name: name, id: id}", "length(@)". Omit to get the full records. | |
| since | No | ||
| search | No |