DELETE /communication/push-tokens/{push_token_id}
停用指定的设备推送令牌(将is_active设置为false)。注销后该令牌不再接收推送通知,用户下次打开应用需重新注册。参考:ePrivacy Directive 2002/58/EC、CAN-SPAM Act。
通信服务 `bearerAuth` application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
push_token_id |
path |
string |
是 |
|
|
|
推送令牌ID |
引用的 Schema
dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-communication/internal/handler/dto.OKResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
0 |
|
|
message |
string |
否 |
success |
|
|