---
title: "Cancel a scheduled message"
method: DELETE
path: "/v3/grants/{grant_id}/messages/schedules/{scheduleId}"
tags: ["Messages"]
---

# Cancel a scheduled message

`DELETE /v3/grants/{grant_id}/messages/schedules/{scheduleId}`

## Request

- Base URL: `https://api.us.nylas.com`
- URL: `https://api.us.nylas.com/v3/grants/{grant_id}/messages/schedules/{scheduleId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Cancels the send schedule for a scheduled message. You can use this endpoint up to 10 seconds before
the message has reached its `send_at` time. If you make a `DELETE` request less than 10 seconds
before the `send_at` time, Nylas cannot guarantee the schedule will be cancelled successfully.

## Path parameters

- `scheduleId` string, required

## Response `202`

Schedule Deleted

- object
  - `request_id` string, required
  - `data` object, required
    - `message` string

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/nylas/apis/nylas-api.md) - [All operations](https://skmtc.dev/nylas/apis/nylas-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nylas/apis/nylas-api/revisions/7782a3e3ab70?raw)
