How to Delete Extra Custom Email Provider Actions
Last Updated:
Overview
An email may have been received from Auth0 stating that multiple custom email provider actions will not be supported in the future. This article details the steps to remove an extra Custom Email Provider action using the Management API. Users may encounter issues when attempting to delete a Custom Email Provider action if it is currently bound to a trigger.
Applies To
- Actions
- Email Providers
Cause
If the deployed attribute of a Custom Email Provider action is set to true, the system considers the action bound to the trigger, and it cannot be deleted.
Solution
Perform the following steps using the Auth0 Management API to delete the extra Custom Email Provider action.
-
Get the trigger bindings for the custom-email-provider trigger by calling the get bindings endpoint. NOTE: This call returns the action ID of the action to be deleted.
-
Update the trigger bindings for custom-email-provider to include the action to keep and exclude the action to delete by calling the patch bindings endpoint.
-
Delete the action ID found in step 1 that was not patched to the trigger in step 2 by calling the delete action endpoint.
-
Navigate to Branding > Email Provider on the Dashboard to confirm that the action patched to the trigger in step 2 remains and can be edited.