> ## Documentation Index
> Fetch the complete documentation index at: https://docs.guile.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Deletion Date In Past

> The earliest deletion date must be in the future

## Cause

When deleting a recurring appointment, the `earliestDeletionDate` field must specify a date in the future. This date determines which appointments in the recurring series will be deleted. Appointments scheduled before the `earliestDeletionDate` will be preserved, while appointments on or after this date will be deleted.

## Fix

To delete a recurring appointment: - Specify an `earliestDeletionDate` that is in the future - Ensure the date is formatted correctly as an ISO 8601 date (YYYY-MM-DD) - Consider which appointments you want to preserve and which you want to delete when choosing the date If you want to delete all future appointments: - Set the `earliestDeletionDate` to tomorrow's date or the next scheduled appointment date.

## Retry safety

Not retryable until the underlying state or request changes.

## Raised by

These operations can return this problem:

* [Delete a recurring appointment](/api-reference/appointments/delete-a-recurring-appointment)

## Example

```json theme={null}
{
  "type": "https://docs.guile.app/problems/deletionDateInPast",
  "title": "Deletion Date In Past",
  "status": 422,
  "detail": "When deleting a recurring appointment, the `earliestDeletionDate` field must specify a date in the future. This date..."
}
```
