/internal/communication/push/subscriptions
内部删除推送订阅
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|---|---|
X-Tenant-ID |
header |
string |
是 | 租户ID | |||
user_id |
query |
string |
是 | 用户ID | |||
app_id |
query |
string |
否 | 应用ID | |||
endpoint |
query |
string |
是 | 订阅端点URL |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 204 | 删除成功 | |
| 400 | 请求参数错误 | dto.SimpleResponse |
| 404 | 订阅不存在 | dto.SimpleResponse |
| 500 | 服务内部错误 | dto.SimpleResponse |
引用的 Schema
dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |