v1
latestOpenAPI 3.1.02026-07-26294215839.4 KBMeal & Rest Breaks
Public API
Replace Breaks for Break Policy
Replace all breaks for a break policy. Breaks with an ID will be updated, breaks without an ID will be created. Existing breaks not in the request will be soft-deleted.
OAuth Scopes: time_tracking:breaks.write
put/api/v1/time-tracking/break-policies/{id}/breaks
Path parameters
idstring uuid required
The break policy ID.
Request body
Example request
[
{
"name": "Lunch Break",
"duration": 60
}
]Response
Successfully replaced breaks for the policy
Example response
[
{
"id": "0199de9b-6bcb-77e7-941d-3caf74b9a372",
"name": "Lunch Break",
"duration": 60,
"availabilityStartTime": "08:00",
"availabilityEndTime": "17:00",
"createdAt": "2025-01-01T06:00:00Z",
"updatedAt": "2025-01-01T06:00:00Z",
"deletedAt": "2025-01-01T06:00:00Z"
}
]