DELETE /communication/push-tokens/{id}
停用指定的设备推送令牌(将is_active设置为false)。注销后该令牌不再接收推送通知,用户下次打开应用需重新注册。参考:ePrivacy Directive 2002/58/EC、CAN-SPAM Act。
通信服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
推送令牌ID |
Referenced Schemas
dto.OKResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
0 |
|
|
message |
string |
No |
success |
|
|
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|