Hubstaff icon

Hubstaff

Interact with Hubstaff API v2

Actions35

Schedule → Update

AI-generated

Summary

Update an attendance schedule's start and end times

Inputs

  • scheduleId (required) — The ID of the attendance schedule
  • updateFields — Fields to update on the schedule

Output shape

Hubstaff API response for the updated attendance schedule

Only start_time and end_time are sent in the request body if provided; other fields are ignored.

Examples

Example 1: Update schedule 12345 with new 09:00 to 17:00 times

scheduleId: 12345; updateFields: { startTime: 09:00, endTime: 17:00 }

Links

Discussion