Update a department

This endpoint lets you update departments for a given id.
This endpoint requires departments_rw scope.
put
https://www.welcomekit.co/api/v1/external/
departments/:id
department update
Request example
curl -X PUT "https://www.welcomekit.co/api/v1/external/departments/:id" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer WK_API_KEY" \
-d @- <<EOF
{
"name": "Whatever",
}
EOF