Retrieve Departments
documentedList departments in the current organization.
GET /rest/v2/departmentsHRISno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl 'https://api.letsdeel.com/rest/v2/departments?query={{$query}}&page={{$page}}&limit={{$limit}}' \
-X GET \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'Accept: application/json'