Method jobs.delete
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
请求
HTTP 请求
DELETE https://youtubereporting.googleapis.com/v1/jobs/{jobId}
授权
所有 YouTube Reporting API 请求都必须获得授权。授权指南介绍了如何使用 OAuth 2.0 协议检索授权令牌。
YouTube Reporting API 请求使用以下授权范围:
| 范围 |
| https://www.googleapis.com/auth/yt-analytics.readonly |
查看 YouTube 分析工具为您的 YouTube 内容出具的报告。此范围可让您访问用户活动指标,例如观看次数和评分次数。 |
| https://www.googleapis.com/auth/yt-analytics-monetary.readonly |
查看 YouTube 分析工具为您的 YouTube 内容出具的财务报告。此范围可让您访问用户活动指标以及估算的收入和广告效果指标。 |
参数
路径参数
| 参数 |
jobId |
string
YouTube 用于唯一标识要删除的作业的 ID。 |
查询参数
| 参数 |
onBehalfOfContentOwner |
string
为其发出 API 请求的内容所有者的 ID。如果请求未为此参数指定值,API 服务器会假定请求是针对用户自己的渠道发出的。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-09-18。
[null,null,["最后更新时间 (UTC):2025-09-18。"],[],["This document details the process for deleting a reporting job via the YouTube Reporting API. A `DELETE` request is sent to the specified endpoint, using the `jobId` path parameter to identify the job. Authorization is required, with scopes for viewing analytics or monetary reports. An optional `onBehalfOfContentOwner` query parameter can be included to specify a content owner. The request body should be empty, and a successful response will also have an empty body.\n"]]