# 删除日程
**注意事项**：为了更好地提升该接口的安全性与开放性，我们对其进行了升级。请尽快迁移至[新版本>>](https://open.larksuite.com/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN)
该接口用于删除指定日历下的日程。

## 请求

基本 | &nbsp;
---|---
HTTP URL | https://open.larksuite.com/open-apis/calendar/v3/calendars/:calendarId/events/:eventId
HTTP Method | DELETE

### 请求头

名称 | 类型 | 必填 | 描述
---|---|---|---
Authorization | string | 是 | `tenant_access_token`<br>**值格式**："Bearer `access_token`"<br>**示例值**："Bearer t-7f1bcd13fc57d46bac21793a18e560"<br>[了解更多：获取与使用access_token](https://open.larksuite.com/document/ukTMukTMukTM/uMTNz4yM1MjLzUzM)
Content-Type | string | 是 | **固定值**："application/json; charset=utf-8"

##  路径参数
|参数|类型|必须|说明|
|--|-----|--|----|---|
|calendarId|string|是|日历 ID|请求 URL|
|eventId|string|是|日程 ID|请求 URL|
##  查询参数
|参数|类型|必须|说明|
|--|-----|--|----|---|
|need_notification|bool|否|默认为 true，需要关闭给参与人的 Bot 通知时填 false|Query 参数|

## 响应
### 响应体
|参数|说明|
|-|-|
|code|返回码，非 200000 表示失败|
|msg|返回码的描述|
### 响应体示例
```json
{
    "code": 200000,
    "msg": "success"
}
```
### 错误码

具体可参考：[服务端错误码说明](https://open.larksuite.com/document/ukTMukTMukTM/ugjM14COyUjL4ITN)

