

# Deleting Remediation Actions for Amazon Config
<a name="delete-remediation-action"></a>

You can use the Amazon Config console or the Amazon CLI to delete remediation actions.

------
#### [ Deleting remediation actions (Console) ]

1. Sign in to the Amazon Web Services Management Console and open the Amazon Config console at [https://console.amazonaws.cn/config/home](https://console.amazonaws.cn/config/home).

1. Choose **Rules** on the left and then on the **Rules** page, select the rule from the rule list and choose **View details**.

1. On the *name of the rule* page, go to the **Remediation action** section. Expand the section to view additional details.

1. In the **Remediation action** section, choose **Delete** and confirm your delete action.
**Note**  
If remediation is in progress, a remediation action won't be deleted. Once you choose delete a remediation action, you cannot retrieve the remediation action. Deleting a remediation action does not delete the associated rule.

   If a remediation action is deleted, the **Resource ID parameter** will be empty and display N/A. On the **Rules** page, the remediation action column displays **Not set** for the associated rule.

------
#### [ Deleting remediation actions (API) ]

Use the following Amazon Config API operation to set up auto remediation:
+ [DeleteRemediationConfiguration](https://docs.amazonaws.cn/config/latest/APIReference/API_DeleteRemediationConfiguration.html), deletes the remediation configuration.
+ [DeleteRemediationExceptions](https://docs.amazonaws.cn/config/latest/APIReference/API_DeleteRemediationExceptions.html), deletes one or more remediation exceptions mentioned in the resource keys.

------