 <p>I tried to unsubscribe endpoint from topic by following python code (use boto):</p> <pre><code>def _unsubscribe_from_topic(topic_arn, endpoint): conn = connect_to_region('your_region_name','AWS_ACCESS_KEY', 'AWS_SECRET_KEY') r = conn.get_all_subscriptions_by_topic(topic_arn) for i in r.get('ListSubscriptionsByTopicResponse')\ .get('ListSubscriptionsByTopicResult')\ .get('Subscriptions'): if i.get('Endpoint') == endpoint: subscription = i.get('SubscriptionArn') conn.unsubscribe(subscription) return True return False </code></pre> <p>reference: <a href="http://boto.readthedocs.org/en/latest/ref/sns.html" rel="nofollow">http://boto.readthedocs.org/en/latest/ref/sns.html</a></p>