Skip to main content
POST
Delete schedule

Overview

Delete work schedules. You can delete a single schedule occurrence or all future occurrences of a recurring schedule. Only team owners and managers can delete schedules.

Request Body

integer
required
The unique identifier of the schedule to delete.Example: 123
string
required
Type of deletion to perform.Allowed values:
  • "this" - Delete only this specific schedule occurrence
  • "future" - Delete this and all future occurrences
Example: "this"
string
Schedule ID (required when type is "future"). Groups related schedule entries.Example: "abc123def4"
integer
User ID (required when type is "future"). Deletes only schedules for this specific member.Example: 5

Response

string
Success message confirming the schedule was deleted.
integer
HTTP status code (200).

Example Request - Delete Single Schedule

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
integer<int64>
required

The unique identifier of the schedule to delete

Example:

123

type
enum<string>
required

Type of deletion

Available options:
this,
future
Example:

"this"

sid
string

Schedule ID (required for 'future' type)

Example:

"abc123def4"

member_id
integer<int64>

User ID (required for 'future' type)

Example:

5