:doc:`Chime <../../chime>` / Client / delete_phone_number

*******************
delete_phone_number
*******************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeletePhoneNumber>`_  


  **Request Syntax**
  ::

    response = client.delete_phone_number(
        PhoneNumberId='string'
    )
    
  :type PhoneNumberId: string
  :param PhoneNumberId: **[REQUIRED]** 

    The phone number ID.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Chime.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`Chime.Client.exceptions.NotFoundException`

  
  *   :py:class:`Chime.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Chime.Client.exceptions.BadRequestException`

  
  *   :py:class:`Chime.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceFailureException`

  