---
title: "Delete a calendar"
method: DELETE
path: "/v3/grants/{grant_id}/calendars/{calendar_id}"
tags: ["Calendar"]
---

# Delete a calendar

`DELETE /v3/grants/{grant_id}/calendars/{calendar_id}`

Deletes the specified calendar. You _cannot_ delete the primary calendar associated with an
account (`"is_primary": true`).

## Response `200`

Delete Succeeded

- object
  - `request_id` string, required — ID of the request.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `429` — Rate limited. The provider or Nylas throttled the request. If a provider throttles a request and says how long to wait, the `Retry-After` header gives that number of seconds. When the header is missing, retry with exponential backoff. See [429 rate limit errors by provider](/docs/api/errors/400-response/#429-rate-limit-errors-by-provider).
- `504` — Provider Failure

## Changes

- **2026-09-26** `763d6b969cd7` — 1 info
  - added the optional property `error/provider_error` to the response with the `429` status

[Change history](https://skmtc.dev/nylas/apis/nylas-api/changes/v3/grants/:grant_id/calendars/:calendar_id/delete.md)

---

[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/2522486cbd5d?raw)
