Skip to navigation

Update Break

Renames an existing break. Shared rules: see Writing data.

  • Only the name can change; paid/unpaid and the maximum duration can’t.
  • name is the current break name, matched exactly (see GET /attendance/break).
  • new_name must 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.
namestringRequired1-100 characters
Current exact break name.
new_namestringRequired1-100 characters
New break name. Unique in the company, ignoring case.

Response

The break was renamed.
messagestring
statusboolean
dataobject

Errors

400
Bad Request Error
403
Forbidden Error