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.
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
Request Syntax
response = platform_endpoint.delete()