DELETE管理接口
删除事件定义
只删定义本身,事件明细与统计保留;下一次上报会把定义重新建回来。要停用某个事件请改用归档。
URL
/api/v1/admin/projects/{projectKey}/events/definitions/{definitionId}鉴权方式
需要管理员 JWT 或 API Key,二者等价(Authorization: Bearer <token>)
请求参数
Path 参数
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| projectKey | string | 是 | 项目主键 project_key(大小写不敏感) |
| definitionId | string | 是 |
Header 参数
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| Authorization | string | 是 | Bearer <管理员 JWT 或 API Key> |
该接口无需请求体。
响应示例
200 响应
{
"success": true
}DELETE
