Appearance
Stop Subscription
API Address:/v2/quecrule/{version}/openapi/subscribe/stop
Request Method:POST
Request Data Type:application/json
Response Data Type:*/*
API Description:Stop subscription
Request Parameters:
| Parameter Name | Parameter Description | Request Type | Required | Data Type | Schema |
|---|---|---|---|---|---|
| subscribeId | Subscription ID | query | true | integer(int64) | |
| version | Current version, valid value:r1 | path | true | string |
Response Status:
| Status Code | Description | Schema |
|---|---|---|
| 200 | OK | ActionResultOfobject |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
| 16011 | The subscription rule does not exist | |
| 16021 | The subscription rule is not started | |
| 50000 | Service exception | |
| 50005 | Parameter check error | |
| 70060 | Permission Denied | |
| 91004 | Token incorrect | |
| 91005 | Doesn't have permission |
Response Parameters:
| Parameter Name | Parameter Description | Type | Schema |
|---|---|---|---|
| code | Return code | integer(int32) | integer(int32) |
| data | Object | object | |
| msg | Prompt message | string | |
| pageNum | Current page number | integer(int32) | integer(int32) |
| pageSize | Items per page | integer(int32) | integer(int32) |
| pages | Total pages | integer(int32) | integer(int32) |
| total | Total count | integer(int32) | integer(int32) |
Response Example:
javascript
{
"code": 200,
"msg": ""
}