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

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



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

  

  Deletes the endpoint for a device and mobile app from Amazon SNS. This action is idempotent. For more information, see `Using Amazon SNS Mobile Push Notifications <https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html>`__.

   

  When you delete an endpoint that is also subscribed to a topic, then you must also unsubscribe the endpoint from the topic.

  

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


  **Request Syntax**
  ::

    response = platform_endpoint.delete()
    
    
  
  :returns: None