ChimeSDKVoice / Client / delete_phone_number
delete_phone_number#
- ChimeSDKVoice.Client.delete_phone_number(**kwargs)#
Moves the specified phone number into the Deletion queue. A phone number must be disassociated from any users or Amazon Chime SDK Voice Connectors before it can be deleted.
Deleted phone numbers remain in the Deletion queue queue for 7 days before they are deleted permanently.
See also: AWS API Documentation
Request Syntax
response = client.delete_phone_number( PhoneNumberId='string' )
- Parameters:
PhoneNumberId (string) –
[REQUIRED]
The phone number ID.
- Returns:
None
Exceptions
ChimeSDKVoice.Client.exceptions.UnauthorizedClientException
ChimeSDKVoice.Client.exceptions.NotFoundException
ChimeSDKVoice.Client.exceptions.ForbiddenException
ChimeSDKVoice.Client.exceptions.BadRequestException
ChimeSDKVoice.Client.exceptions.ThrottledClientException
ChimeSDKVoice.Client.exceptions.ServiceUnavailableException
ChimeSDKVoice.Client.exceptions.ServiceFailureException