2 Answers
- Newest
- Most votes
- Most comments
0
As per CLI Documentation https://docs.aws.amazon.com/cli/latest/reference/pinpoint-sms-voice-v2/delete-registration.html
- Use the
delete-registration-attachment
AWS CLI command to disassociate any phone numbers, sender IDs, or other resources attached to the registration:
aws pinpoint-sms-voice-v2 delete-registration-attachment --registration-id <registrationId> --resource-arn <resourceArn>
-
Check if the phone number or sender ID is still in use by other registrations and disassociate it from those as well.
-
Once all associated resources are removed, delete the registration itself using the
delete-registration
command:
aws pinpoint-sms-voice-v2 delete-registration --registration-id <registrationId>
- Similarly, for toll-free numbers, check if they are associated with any other resources like registrations, pools, etc., and disassociate them before attempting to release the number.
Relevant content
- asked a year ago
- asked 4 months ago
- asked 8 months ago