跳转到主要内容
DELETE
Delete template

请求规范

  • 方法与路径: DELETE /apis/v1/social/messaging/whatsapp/templates/{templateName}
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/social/messaging/whatsapp/templates/{templateName}
  • templateName: path; 必填
  • connectionId: query; 必填
  • language: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

此操作不另收费。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

templateName
string
必填

Template name (the family).

查询参数

connectionId
string
必填

Your messaging connection (msc_...), from GET /apis/v1/social/messaging/connections.

Pattern: ^msc_[0-9A-Za-z]+$
language
string

Delete only this language variant (e.g. es). Omit to delete the whole family.

响应

Success

language
string

The deleted variant; only when scope is language.

message
string
scope
enum<string>

Whether the whole family or one variant was deleted.

可用选项:
all_languages,
language
success
boolean