Company Policies:v1:UserWorkingHours

Set user custom working hours

Changed on

Create or replace custom working hours for a user. Any shared working hours assignment is replaced

put/company-policies/v1/users/{userId}/working-hours

Request

  • Base URL
    https://api.connecteam.com
  • URL
    https://api.connecteam.com/company-policies/v1/users/{userId}/working-hours
  • Auth
    • API key in header X-API-KEY
    • or OAuth 2
      Client credentials
      Token URL: /oauth/v1/token scopes: company_policies.write

Path parameters

userIdinteger required

The unique identifier of the user

Request body

timezonestring nullable

IANA timezone used to interpret the work schedule. Defaults to the company timezone when omitted

Response

Successful Response

requestIdstring

Changes