Time Off:v1:PolicyAssignment

Assign user to time-off policy

Assign user to specified time-off policy.

put/time-off/v1/time-off-policies/{timeOffPolicyId}/assignments

Request

  • Base URL
    https://api.connecteam.com
  • URL
    https://api.connecteam.com/time-off/v1/time-off-policies/{timeOffPolicyId}/assignments
  • Auth
    • API key in header X-API-KEY
    • or OAuth 2
      Client credentials
      Token URL: /oauth/v1/token scopes: time_off.write

Path parameters

timeOffPolicyIdstring required

The time off policy id

Request body

userIdinteger required

The unique identifier of the user

balancenumber

The balance amount

unit'hours' | 'days'

An enumeration.

Response

Successful Response

requestIdstring
dataTimeOffAssignPolicyResponse required

Changes

No recorded changes to this operation across all 2 revisions of this API.