---
title: "Remove a saved report's e-mail slots"
type: reference
method: DELETE
path: /rest-api/saved-reports/{id}/schedule.do
tag: "Analytics"
---

# Remove a saved report's e-mail slots

`DELETE https://YOUR-NETWORK-DOMAIN/rest-api/saved-reports/{id}/schedule.do`

Removes e-mail slots from a saved report, as the console's schedule dialog does. With daysOfTheWeek and/or daysOfTheMonth and 'hour', only those slots go, whatever their format. With no day, every slot goes and the report is no longer mailed.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `id` | integer | yes | `42` | Saved report id |

## Form params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `daysOfTheMonth` | array<integer> | no | `1` | Days of the month, 1-31 |
| `daysOfTheWeek` | array<string> | no | `MONDAY` | Days of the week, e.g. MONDAY,FRIDAY |
| `format` | string | no | `PDF` | File format mailed; required when adding slots |
| `hour` | integer | no | `8` | Hour of the day in UTC, 0-23; required when adding slots, and when removing given days |

## Responses

- `200` — The saved report with its schedule, in the shape of the GET
- `400` — Days given without an hour, hour outside 0-23 or a day of the month outside 1-31
- `401` — Authentication error
- `403` — Forbidden — insufficient permissions
- `404` — No saved report of the caller has this id, or none of the slots sent is scheduled

## Example request

```bash
curl --request DELETE \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/saved-reports/42/schedule.do' \
  --header 'X-Api-Key: YOUR_API_KEY' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'daysOfTheMonth=1' \
  --data-urlencode 'daysOfTheWeek=MONDAY' \
  --data-urlencode 'format=PDF'
```

Source: https://epom.com/ad-server/docs/api/analytics/delete-saved-reports-schedule