Deleting a Message Notification Configuration
Function
This API is used to delete a message notification configuration.
Authorization Information
Each account root user has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
| Action | Access Level | Resource Type (*: required) | Condition Key | Alias | Dependencies |
|---|---|---|---|---|---|
| AccessAnalyzer:notificationSetting:delete | Write | notificationSetting * | - | - | - |
URI
DELETE /v5/notification-settings/{notification_setting_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| notification_setting_id | Yes | String | Definition Unique identifier of a message notification configuration. You can call the ListNotificationSettings API. This API returns a list of message notification configurations. Each configuration summary object in the list contains a unique id field, which is the message notification configuration ID. Range The value contains 1 to 36 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed. |
Request Parameters
None
Response Parameters
Status code: 204
None
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Definition: Error code. Range: N/A |
| error_msg | String | Definition: Error message. Range: N/A |
| request_id | String | Definition: Request ID. Range: N/A |
| encoded_authorization_message | String | Definition: Authentication information. Range: N/A |
Status code: 403
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Definition: Error code. Range: N/A |
| error_msg | String | Definition: Error message. Range: N/A |
| request_id | String | Definition: Request ID. Range: N/A |
| encoded_authorization_message | String | Definition: Authentication information. Range: N/A |
Example Requests
This API is used to delete a message notification configuration.
DELETE https://{hostname}/v5/notification-settings/{notification_setting_id} Example Responses
None
Status Codes
| Status Code | Description |
|---|---|
| 204 | Deleted |
| 400 | Bad request |
| 403 | Forbidden |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot