Chime.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 Voice Connectors before it can be deleted.
Deleted phone numbers remain in the Deletion queue for 7 days before they are deleted permanently.
See also: AWS API Documentation
Request Syntax
response = client.delete_phone_number(
PhoneNumberId='string'
)
[REQUIRED]
The phone number ID.
Exceptions
Chime.Client.exceptions.UnauthorizedClientExceptionChime.Client.exceptions.NotFoundExceptionChime.Client.exceptions.ForbiddenExceptionChime.Client.exceptions.BadRequestExceptionChime.Client.exceptions.ThrottledClientExceptionChime.Client.exceptions.ServiceUnavailableExceptionChime.Client.exceptions.ServiceFailureException