Create department
documentedCreate a department.
POST /api/v2/departmentsAsset Departmentsno 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://app.mojohelpdesk.com/api/v2/departments?access_key={{MOJOHELPDESK_API_KEY}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{\"name\": \"{{$name}}\", \"description\": \"{{$description}}\", \"parent_id\": {{$parent_id}}}'