Skip to main content
PATCH
更新一个已保存的分析报告 —— 常用于重命名它或切换是否保持已保存状态。
需要具有 MANAGEMENT_API(或 MANAGEMENT_API_SANDBOX)配额的管理 API 密钥 —— 参见管理 API 概述
integer
必填
报告的 id
string
已保存预设的新名称。每个账户内必须唯一 —— 重复会返回 400
boolean
设置为 false 以取消保存该预设(它仍会列在列出分析报告中,只是无法再通过此获取/更新端点访问)。
此端点不会重新生成报告 —— 它只更新已保存预设的元数据,不更新 filter_type/filter_data/日期范围。如果 pk 不是此账户拥有的已保存报告,则返回 404

相关内容

授权

Authorization
string
header
必填

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

路径参数

pk
integer
必填

响应

200 - application/json

Report updated.