Deleting Notifications

Last updated: 2018-08-21 16:26:05


1. API Description

This API (DeleteScalingNotification) is used to delete notification.
Domain for API request:

2. Input Parameters

The following request parameter list only provides API request parameters. Common request parameters need to be added when the API is called. For more information, refer to Common Request Parameters. The Action field for this API is DeleteScalingNotification.

Parameter Name Required Type Description
scalingGroupId Yes String Scaling group ID of the notification to be deleted. It can be queried by calling Query Scaling Group List (DescribeScalingGroup) API.
notificationIds.n Yes String Notification ID, which is a collection of notification IDs that need to be deleted

3. Output Parameters

Parameter Name Type Description
code Int Common error code; 0: Succeeded; other values: Failed. For more information, please refer to Common Error Codes on the Error Code page.
codeDesc String Error code at business side. If the task succeeds, it will return "Success"; if the task fails, the specific business error reason will be returned.
message String Module error message description depending on API.
data Array It is empty if returned successfully.

4. Error Codes

For common errors on this API, refer to AS Error Code.

5. Example
&<Common request parameters>

Example of returned result is as below: