Class WebhookDeleter


  • public class WebhookDeleter
    extends Deleter<Webhook>
    PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
    • Constructor Detail

      • WebhookDeleter

        public WebhookDeleter​(String pathSessionSid,
                              String pathSid)
        Construct a new WebhookDeleter.
        Parameters:
        pathSessionSid - The unique id of the Session for this webhook.
        pathSid - A 34 character string that uniquely identifies this resource.
    • Method Detail

      • delete

        public boolean delete​(TwilioRestClient client)
        Make the request to the Twilio API to perform the delete.
        Specified by:
        delete in class Deleter<Webhook>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        true if the object was deleted