跳转到主要内容
DELETE
/
channels
/
templates
/
delete
cURL
curl --request DELETE \
  --url https://api.pubrio.com/channels/templates/delete \
  --header 'Content-Type: application/json' \
  --header 'pubrio-api-key: <api-key>' \
  --data '
{
  "channel_templates": [
    1,
    2
  ],
  "profile_id": 123,
  "is_entire_templates": true
}
'
{
  "data": null
}

Authorizations

pubrio-api-key
string
header
required

一个唯一的 API 令牌,用于标识您通过 API 执行的操作以及相应的权限和操作。您可以在 设置 部分创建该令牌。

Body

application/json
channel_templates
integer[]
required

用于搜索特定渠道模板的 channel_template_id列表。

Example:
[1, 2]
profile_id
integer
required

发起请求的团队标识符。该ID有助于将查找与特定团队(工作区)关联,实现数据检索和额度追踪。

更多信息请参见团队标签下的 user details 端点。

is_entire_templates
boolean

启用后,执行将应用于渠道模板内的整个版本。

Response

包含相关详细信息的成功响应。

data
object

响应信息取决于具体接口。