Deletes a callback that is used to subscribe to channel or user events.
Usage notes
Before you call this operation, make sure that you have called the CreateEventSub operation to create a callback that is used to subscribe to channel or user events.
QPS limit
You can call this operation up to 100 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
Debugging
Request parameters
Parameter |
Type |
Required |
Example |
Description |
Action | String | Yes | DeleteEventSub | The operation that you want to perform. Set the value to DeleteEventSub. |
AppId | String | Yes | 9qb1**** | The application ID. |
SubscribeId | String | Yes | ad53276431c**** | The subscription ID. For more information, see CreateEventSub. |
Response parameters
Parameter |
Type |
Example |
Description |
RequestId | String | 760bad53276431c499e30dc36f6b26be | The request ID. |
Examples
Sample requests
http(s)://live.aliyuncs.com/?Action=DeleteEventSub
&AppId=9qb1****
&SubscribeId=ad53276431c****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteEventSubResponse>
<RequestId>760bad53276431c499e30dc36f6b26be</RequestId>
</DeleteEventSubResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "760bad53276431c499e30dc36f6b26be"
}
Error codes
HTTP status code |
Error code |
Error message |
Description |
400 | InputInvalid | %s. | The specified parameters are invalid. |
403 | NoAuth | %s. | You do not have the required permissions. |
404 | ResourceNotExist | %s. | The requested resource does not exist. Check whether the resource exists and try again. |
500 | ServerError | %s. | An unknown error occurred. Try again later or submit a ticket. |
For a list of error codes, see Service error codes.