ConnectCloud Developers

Save the module configuration (tenant:settings:write)

PUT /api/hr/v1/config

Module: HR · operationId: setConfig · Tag: Configuration · Auth: access token (Authorization: Bearer <accessToken>)

The work settings (work) are not written here – a sent work part is ignored and the stored one stays; save them with setWorkEntrySettings (hr:work:manage).

Request body

application/json (required)

Example:

{
  "active": true,
  "autoApproveSickLeaves": true,
  "defaultVacationDays": 30,
  "standardWeeklyHours": 40
}

Responses

  • 200 Saved

Example request

curl -X PUT 'https://api.mbcom.cloud/api/hr/v1/config' \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H 'Content-Type: application/json' \
  --data '{"active":true,"autoApproveSickLeaves":true,"defaultVacationDays":30,"standardWeeklyHours":40}'

View as Markdown · Interactive reference · OpenAPI