You need to enable JavaScript to run this app.
Intelligent Data Insight

Intelligent Data Insight

Copy page
Download PDF
Visual Query
Withdraw Lark Subscription Push Messages
Copy page
Download PDF
Withdraw Lark Subscription Push Messages

1. Overview

For certain special or important dashboards, to prevent subscription messages from being pushed when data has not been refreshed or there are other data anomalies, the product supports the ability to withdraw subscription push messages. Currently, withdrawal is implemented via an API. Users can enter parameters and call the API to withdraw the relevant Lark messages when needed. This capability is available only to dashboard administrators, subscription creators, and project administrators.

warning

Before using the API described in this document, please first review the API invocation method. For details, see Invocation Method.

2. Withdraw Lark Subscription Push Messages

2.1 Request description

Request URL: POST aeolus/api/v3/subscription/withdraw

2.2 Request parameters

Name

Type

Required

Example value

Description

subscription_id

int

Yes

27593

Subscription ID

subscribers

array

Yes

【】

Specify the user list when withdrawing push messages for designated users

after_push_time

string

Optional

07:01:01

Set to withdraw messages sent after the specified time on the current day

2.3 Request example

{
  "subscription_id":27593, // Subscription ID
  "subscribers": [], // Specify the user list when withdrawing push messages for designated users
  "after_push_time": "07:01:01" // Optional, set to withdraw messages sent after the specified time on the current day
}

2.4 Response parameters

Name

Type

Required

Example value

Description

code

string

Yes

aeolus/ok

Status code

data

Yes

subscriptionId

int

Yes

27594

Subscription ID

withdrawStatus

array

Yes

[]

Withdrawal status (example value)

errCode

2.5 Response example

// When execution is successful
{
    "code": "aeolus/ok",
    "data": {
        "subscriptionId": 27594,
        "withdrawStatus": [
            {
                "errCode": 0,
                "errMsg": null,
                "messageId": "{messageId}",
                "pushEndTime": "2023-10-13T03:38:38Z",
                "pushInstanceId": ******,
                "status": "success",
                "subscriber": "xiahaitao"
            },
            {
                "errCode": 0,
                "errMsg": null,
                "messageId": "{messageId}",
                "pushEndTime": "2023-10-13T03:38:39Z",
                "pushInstanceId": ******,
                "status": "success",
                "subscriber": "xiangbowen"
            }
        ]
    },
    "msg": "成功"
}
// When the request ID does not have permission
{
    "code": "aeolus/user/unauthorized",
    "detail": {
        "detail": null,
        "reasons": [
            "用户无权限"
        ],
        "suggestions": []
    },
    "extra_msg": "",
    "msg": "用户无权限",
    "queryHistoryId": 0
}
// When the request fails
{
    "code": "aeolus/subscribe/subscribeWithdrawError",
    "extra_msg": {
        "code": -1,
        "msg": "不支持该类型的订阅推送撤回"
    },
    "msg": "请求订阅服务错误:不支持该类型的订阅推送撤回",
    "queryHistoryId": 0
}
Last updated: 2026.07.06 17:16:31