---
updatedAt: 2026-10-30T09:43:28.000Z
agentTools:
  projectIndex: https://docs.whippy.ai/llms.txt
---

# Delete Work Schedule

  Delete Work Schedule. If the Work Schedule entry does not exist,
  a response with status code `404` will be returned.


# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "NotAuthenticatedErrorResponse": {
        "description": "Not Authenticated Error Response schema",
        "example": {
          "errors": [
            {
              "description": "Not authenticated"
            }
          ],
          "status": 401
        },
        "properties": {
          "errors": {
            "description": "Not authenticated error",
            "items": {
              "properties": {
                "description": {
                  "enum": [
                    "Not authenticated"
                  ],
                  "type": "string",
                  "x-struct": null,
                  "x-validate": null
                }
              },
              "type": "object",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "status": {
            "enum": [
              401
            ],
            "type": "integer",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "NotAuthenticatedErrorResponse",
        "type": "object",
        "x-struct": "Elixir.DashboardApiWeb.Public.V1.Documentation.Errors.NotAuthenticated",
        "x-validate": null
      },
      "WorkScheduleNotFoundErrorResponse": {
        "description": "Work Schedule Not Found Error Response schema",
        "example": {
          "errors": [
            {
              "description": "Work Schedule not found"
            }
          ],
          "status": 404
        },
        "properties": {
          "errors": {
            "description": "Work Schedule 404 error",
            "items": {
              "properties": {
                "description": {
                  "enum": [
                    "Work Schedule not found"
                  ],
                  "type": "string",
                  "x-struct": null,
                  "x-validate": null
                }
              },
              "type": "object",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "status": {
            "enum": [
              404
            ],
            "type": "integer",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "WorkScheduleNotFoundErrorResponse",
        "type": "object",
        "x-struct": "Elixir.DashboardApiWeb.Public.V1.Documentation.Teams.WorkSchedule.Errors.NotFound",
        "x-validate": null
      },
      "TeamMemberWorkScheduleBadRequestErrorResponse": {
        "description": "Work Schedule Bad Request Error Response schema for showing, updating, and deleting team member schedules",
        "example": {
          "errors": [
            {
              "description": "Invalid path param ID: null"
            }
          ],
          "status": 400
        },
        "properties": {
          "errors": {
            "description": "Work Schedule 400 error",
            "items": {
              "properties": {
                "description": {
                  "enum": [
                    "Invalid path param ID: null",
                    "Invalid path param Team Member ID: null",
                    "Invalid path param Team ID: null"
                  ],
                  "type": "string",
                  "x-struct": null,
                  "x-validate": null
                }
              },
              "type": "object",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "status": {
            "enum": [
              400
            ],
            "type": "integer",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "TeamMemberWorkScheduleBadRequestErrorResponse",
        "type": "object",
        "x-struct": "Elixir.DashboardApiWeb.Public.V1.Documentation.Teams.WorkSchedule.Errors.TeamMemberBadRequest",
        "x-validate": null
      },
      "WorkScheduleUnprocessableContentErrorResponse": {
        "description": "List of error responses for invalid WorkSchedule requests.\n",
        "example": {
          "errors": [
            {
              "description": "Requires either Team ID or Team Member ID"
            }
          ],
          "status": 422
        },
        "properties": {
          "errors": {
            "description": "Work Schedule 422 errors",
            "items": {
              "description": "Single 422 error",
              "properties": {
                "description": {
                  "enum": [
                    "Requires either Team ID or Team Member ID",
                    "Can't have both Team ID and Team Member ID",
                    "Weekday can't be blank",
                    "Weekday must be one of: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday",
                    "Starts At is invalid",
                    "Ends At is invalid",
                    "Timezone is invalid",
                    "Team doesn't exist",
                    "Team Member doesn't exist"
                  ],
                  "type": "string",
                  "x-struct": null,
                  "x-validate": null
                }
              },
              "type": "object",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          },
          "status": {
            "enum": [
              422
            ],
            "type": "integer",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "WorkScheduleUnprocessableContentErrorResponse",
        "type": "object",
        "x-struct": "Elixir.DashboardApiWeb.Public.V1.Documentation.Teams.WorkSchedule.Errors.UnprocessableContent",
        "x-validate": null
      }
    },
    "securitySchemes": {
      "authorization": {
        "in": "header",
        "name": "X-WHIPPY-KEY",
        "type": "apiKey"
      },
      "bearer": {
        "description": "OAuth Access token",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Settings endpoints in the Whippy public API.\n\n## Authentication\n\nThe Whippy Public API supports two authentication methods:\n\n**API Key** — Generate an organization API token and send it with every request as the `X-WHIPPY-KEY` header.\n\n**OAuth Bearer Token** — Obtain an access token via the OAuth authorization flow and send it as a Bearer token in the `Authorization` header (e.g. `Authorization: Bearer <access_token>`).\n\n## Rate Limiting\n\nThe Whippy API is rate limited. Different endpoints have different rate limits.\nEach request to the API will return the following headers, which can be used to keep track of your rate limit status:\n * `x-ratelimit-max`: The maximum number of requests that the consumer is permitted to make in the given time period.\n * `x-ratelimit-remaining`: The number of requests remaining in the current rate limit window.\n * `x-ratelimit-interval-milliseconds`: The rate limit window in milliseconds.\n * `x-ratelimit-remaining-interval-milliseconds`: The time in milliseconds until the rate limit window resets.\n",
    "title": "Settings",
    "version": "1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/v1/teams/{team_id}/team_members/{team_member_id}/work_schedules/{id}": {
      "delete": {
        "callbacks": {},
        "deprecated": false,
        "description": "  Delete Work Schedule. If the Work Schedule entry does not exist,\n  a response with status code `404` will be returned.\n",
        "operationId": "deleteTeamMemberWorkSchedule",
        "parameters": [
          {
            "description": "Team ID",
            "example": "fa7290a1-de5a-4a5d-b69e-ebf5a2300141",
            "in": "path",
            "name": "team_id",
            "required": true,
            "schema": {
              "type": "string",
              "x-struct": null,
              "x-validate": null
            }
          },
          {
            "description": "Team Member ID",
            "example": "20f17a61-e531-4215-bdd4-b4e4107d37bf",
            "in": "path",
            "name": "team_member_id",
            "required": true,
            "schema": {
              "type": "string",
              "x-struct": null,
              "x-validate": null
            }
          },
          {
            "description": "Work Schedule ID",
            "example": "88692e1e-0dd7-4acc-a933-65d52ca0497e",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string",
              "x-struct": null,
              "x-validate": null
            }
          }
        ],
        "responses": {
          "204": {
            "content": {
              "application/json": {}
            },
            "description": "Delete Work Schedule Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamMemberWorkScheduleBadRequestErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotAuthenticatedErrorResponse"
                }
              }
            },
            "description": "Not Authenticated Response"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkScheduleNotFoundErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkScheduleUnprocessableContentErrorResponse"
                }
              }
            },
            "description": "Unprocessable Content Response"
          }
        },
        "security": [
          {},
          {
            "authorization": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Delete Work Schedule",
        "tags": [
          "Member Schedules"
        ]
      }
    }
  },
  "security": [],
  "servers": [
    {
      "url": "https://api.whippy.co",
      "variables": {}
    }
  ],
  "tags": [
    {
      "name": "Member Schedules"
    }
  ],
  "x-readme": {
    "apply-endpoint-order": true,
    "apply-tag-changes": true
  }
}
```

# Sibling pages

* [List Work Schedules](https://docs.whippy.ai/reference/getteammemberworkschedules.md)
* [Create Work Schedule](https://docs.whippy.ai/reference/createteammemberworkschedule.md)
* [Show Work Schedule](https://docs.whippy.ai/reference/getteammemberworkschedule.md)
* [Update Work Schedule](https://docs.whippy.ai/reference/updateteammemberworkschedule.md)