Company Policies:v1:WorkingHoursAssignment

Assign users to working hours policy

Changed on

Assign users to the specified working hours policy. Replaces custom working hours for those users

put/company-policies/v1/working-hours-policies/{workingHoursPolicyId}/assignments

Request

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

Path parameters

workingHoursPolicyIdinteger required

The unique identifier of the working hours policy

Request body

userIdsinteger[] required

User IDs to assign to this working hours policy. Between 1 and 100 IDs

Response

Successful Response

requestIdstring

Changes