2 回答
- 最新
- 投票最多
- 评论最多
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.
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 8 个月前