public SubscriptionResponse deleteAllSubscription ( ) throws InstagramException { final OAuthRequest request = prepareOAuthRequest ( Verbs . DELETE ) ; request . addQuerystringParameter ( Constants . SUBSCRIPTION_TYPE , "all" ) ; try { final Response response = request . send ( ) ; return getSubscriptionResponse ( response . getBody ( ) ) ; } catch ( IOException e ) { throw new InstagramException ( "Failed to delete all subscriptions" , e ) ; } }
Deletes all the known subscription .