Balance
Update a balance
Changed onpatch/v1/workspaces/{workspaceId}/time-off/balance/policy/{policyId}
Request
- Base URL: https://api.clockify.me/api
- URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/time-off/balance/policy/{policyId}
- Auth: one of:
- API key in header x-api-key
- API key in header x-addon-token
Path parameters
workspaceIdstring required
Represents a workspace identifier across the system.
Example:60f91b3ffdaf031696ec61a8
policyIdstring required
Represents a policy identifier across the system.
Example:63034cd0cb0fb876a57e93ad
Request body
Example request
{
"dateRange": {
"end": "2021-12-25",
"start": "2021-12-23"
},
"note": "Bonus days added.",
"sync": true,
"userIds": [
"5b715448b079875110792222",
"5b715448b079875110791111"
],
"value": 22
}Response
No Content
Changes
- info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added
- info