Update Break
Renames an existing break. Shared rules: see Writing data.
- Only the name can change; paid/unpaid and the maximum duration can’t.
nameis the current break name, matched exactly (seeGET /attendance/break).new_namemust be unique in the company, ignoring upper/lower case and outer spaces, excluding this break.- Needs the Break Tracking plan feature.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
name
Current exact break name.
new_name
New break name. Unique in the company, ignoring case.
Response
The break was renamed.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
