# Remove Schedule Data

`DELETE /manage/schedules`

Remove stored schedule data for the given time window and schedule type(s). Intervals extending beyond the window are trimmed; intervals entirely within are dropped.

## Parameters

### Query Parameters

| Name | Type | Required | Description | Accepted Values |
| --- | --- | --- | --- | --- |
| `resource_id` | string | yes | The resource id. |  |
| `period_end` | string (date-time) | yes | End of the delete window (ISO 8601). Must be on a 5-minute boundary. |  |
| `period_start` | string (date-time) | yes | Start of the delete window (ISO 8601). Must be on a 5-minute boundary. |  |
| `schedule_type` | string | yes | Comma-separated list of schedule types to delete: availability, curtailment |  |

## Example request

### cURL

```bash
curl -X DELETE "https://api.solcast.com.au/manage/schedules?resource_id=0000-0000-0000-0000&period_start=2026-01-01T00:00:00.0000000Z&period_end=2026-01-01T00:05:00.0000000Z&schedule_type=availability" \
  -H "Authorization: Bearer $API_KEY"
```

### Python

```python
import requests

params = {
    "resource_id": "0000-0000-0000-0000",
    "period_start": "2026-01-01T00:00:00.0000000Z",
    "period_end": "2026-01-01T00:05:00.0000000Z",
    "schedule_type": "availability",
}

response = requests.delete(
    "https://api.solcast.com.au/manage/schedules", params=params,
    headers={"Authorization": "Bearer API_KEY"},
)
data = response.json()
```

## Example response (200)

```json
{}
```

## Responses

### 200 — OK

Schema: `DeleteResourceScheduleResponse`

| Field | Type | Required | Description |
| --- | --- | --- | --- |

Source: /docs/section/premium#deleteManageSchedules
