DeleteWarningConfig
Deletes a warning configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sca:DeleteWarningConfig |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
Yes |
The complete JSON string. For more information, see the details below. |
{"configId": "31"} |
| BaseMeAgentId |
integer |
No |
The workspace ID. |
123456 |
Request parameter details
| Property | Type | Required | Description |
| configId | Long | Yes | The ID of the warning configuration to delete. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The result code. A value of 200 indicates that the request was successful. Other values indicate that the request failed. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
If the request fails, this field provides the error details. If the request is successful, the value is `successful`. |
successful |
| RequestId |
string |
The request ID. |
82C91484-B2D5-4D2A-A21F-A6D73F4D55C6 |
| Success |
boolean |
Indicates whether the request was successful. A value of `true` indicates success. A value of `false` or `null` indicates failure. |
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "82C91484-B2D5-4D2A-A21F-A6D73F4D55C6",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.