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
1
curl -X PUT "https://www.welcomekit.co/api/v1/external/departments/:id" \
2
-H "Content-Type: application/json" \
3
-H "Authorization: Bearer WK_API_KEY" \
4
-d @- <<EOF
5
{
6
"name": "Whatever",
7
}
8
EOF
Copied!
Last modified 1mo ago
Copy link