Skip to main content
PUT
Update Team Attendance

Update Team Attendance

Updates the weekly attendance preferences for one or more team members. Each entry specifies a member and their day-of-week attendance status (office, home, abroad, not working). Only team administrators can update attendance.

Authentication

Requires a valid customer bearer token. The customer must be a team administrator of the specified team.

Path Parameters

number
required
Numeric identifier of the team. Returned as Id from GET /api/public/teams/my.

Request Body

The request body is an array of attendance update objects. Each object specifies a member and one or more day-of-week attendance values.
number
required
Numeric identifier of the team member whose attendance is being updated.
number
Monday attendance status: 1 = Office, 2 = Home, 3 = Abroad, 4 = Not Working, 5 = Undefined.
number
Tuesday attendance status (same values).
number
Wednesday attendance status.
number
Thursday attendance status.
number
Friday attendance status.
number
Saturday attendance status.
number
Sunday attendance status.

Response

Returns HTTP 200 OK with an empty body on success.

Examples

Update attendance for two members

TypeScript Integration

Usage in Portal

Error Responses

error
The customer is not authenticated or the session has expired.
error
The customer is not an administrator of the specified team.
error
Invalid request data — for example, an invalid attendance value or unknown member ID.
error
Team with the specified ID does not exist.