Developers

Change hours (given in seconds) per work day of users from given departments

POST
/user/set-hours-per-work-day/by-departments

Change hours (given in seconds) per work day of users from given departments

Authorization<token>

Value for the Authorization header parameter.

In: header

Request Body

The new UserSetHoursByDepartments resource

TypeScript Definitions

Use the request body type in TypeScript.

departmentIds*array<>|
Items1 <= items
hoursPerWorkDay*number
Formatinteger
Range0 <= value <= 86400

Response Body

curl -X POST "https://example.com/user/set-hours-per-work-day/by-departments" \  -H "Content-Type: application/json" \  -d '{    "departmentIds": [      "c9a460f4-2870-477c-8605-54a100427561"    ],    "hoursPerWorkDay": 0  }'
Empty