public SubscriptionResponse deleteSubscription ( String id ) throws InstagramException { final OAuthRequest request = prepareOAuthRequest ( Verbs . DELETE ) ; request . addQuerystringParameter ( "id" , id ) ; try { final Response response = request . send ( ) ; return getSubscriptionResponse ( response . getBody ( ) ) ; } catch ( IOException e ) { throw new InstagramException ( "Failed to delete subscription with id [" + id + "]" , e ) ; } }
Deletes a subscription with the specified identifier .