Update Shift
Renames an existing shift. Shared rules: see Writing data.
- Only the name can change. A shift’s times are what past attendance was worked out with; to change them, add a new shift and assign it.
nameis the current shift name, matched exactly (seeGET /attendance/shift).new_namemust be unique in the company, ignoring upper/lower case and outer spaces, excluding this shift.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
name
Current exact shift name.
new_name
New shift name. Unique in the company, ignoring case.
Response
The shift was renamed.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
