:doc:`Topic <index>` / Action / delete

******
delete
******



.. py:method:: SNS.Topic.delete()

  

  Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic>`_  


  **Request Syntax**
  ::

    response = topic.delete()
    
    
  
  :returns: None