Delete a Subscription

Example Delete Subscription Request

$ curl https://api.intercom.io/subscriptions/nsub_6ab4c480-fd8b-11e3-958f-c779cae3e1b3 \
-X DELETE \
-H 'Authorization:Bearer <Your access token>' \
-H 'Accept: application/json'
Subscription sub = Subscription.find("nsub_60ca7690");
Subscription.delete(sub);

A subscription can be deleted by sending a DELETE request to its URL.