>>> import incydr >>> client = incydr.Client(**kwargs) >>> client.departments.v1.get_page()
get_page(self, page_num=1, page_size=None, name=None)
Get a page of departments. Retrieves department information that has been pushed to Code42 from SCIM or User Directory Sync. The resulting department names can be used to include departments on watchlists.
int- Page number for results, starting at 1.
int- Max number of results to return for a page.
str- Matches departments whose name is like the given value.
iter_all(self, page_size=None, name=None)
Iterate over all departments.
Accepts the same parameters as
Returns: A generator yielding individual department names (