Company Policies:v1:SchedulingRuleAssignment

Assign users to scheduling rule policy

Changed on

Assign one or more users to the specified scheduling rule policy. Pass the users in the userIds array. If a user is already assigned to another scheduling rule policy, that assignment is replaced.

put/company-policies/v1/scheduling-rule-policies/{schedulingRulePolicyId}/assignments

Request

  • Base URL
    https://api.connecteam.com
  • URL
    https://api.connecteam.com/company-policies/v1/scheduling-rule-policies/{schedulingRulePolicyId}/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

schedulingRulePolicyIdinteger required

The unique identifier of the scheduling rule policy to assign

Request body

userIdsinteger[] required

The unique identifiers of the users to assign

Response

Successful Response

requestIdstring

Changes