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 pathAssistantSid,
                              String pathSid)
        Construct a new WebhookDeleter.
        Parameters:
        pathAssistantSid - The SID of the Assistant that is the parent of the resources to delete
        pathSid - The unique string that identifies the resource to delete
    • 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