Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Delete a protect configuration in AWS End User Messaging SMS
To delete a protect configuration, you can use the AWS End User Messaging SMS console, the
DeleteProtectConfiguration action in the AWS End User Messaging SMS and voice v2 API, or the
aws sms-voice delete-protect-configuration command in the AWS CLI. This
section shows how to delete a protect configuration using the AWS End User Messaging SMS console and the
AWS CLI.
Deletion protection has to be disabled before you can delete a protect
configuration.
The protect configuration has to be disassociated from any configuration sets or the
account default protect configuration before you can delete
it.
- Delete a protect configuration (Console)
-
To delete a protect configuration using the AWS End User Messaging SMS console, follow these
steps:
Open the AWS End User Messaging SMS console at
https://console.aws.amazon.com/sms-voice/.
-
In the navigation pane, under Protect, choose
Protect configuration.
-
Choose the protect configuration to delete and then choose
Delete.
-
On the Delete protect configurations enter
confirm and choose
Delete.
If your protect configuration is still associated with a
configuration set or as the account default choose Remove
associations, then enter
confirm, and choose
Delete.
The protect configuration has now been removed from your account.
- Delete a protect configuration (AWS CLI)
-
You can use the delete-protect-configuration command to delete a protect
configuration.
To delete a protect configuration
-
At the command line, enter the following command:
$ aws pinpoint-sms-voice-v2 delete-protect-configuration --protect-configuration-id ProtectConfigId
In the preceding command, make the following changes: