Constructor and Description |
---|
UserDeleter(String pathSid)
Construct a new UserDeleter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
delete(TwilioRestClient client)
Make the request to the Twilio API to perform the delete.
|
UserDeleter |
setXTwilioWebhookEnabled(User.WebhookEnabledType xTwilioWebhookEnabled)
The X-Twilio-Webhook-Enabled HTTP request header.
|
delete, deleteAsync, deleteAsync
public UserDeleter(String pathSid)
pathSid
- The SID of the User resource to deletepublic UserDeleter setXTwilioWebhookEnabled(User.WebhookEnabledType xTwilioWebhookEnabled)
xTwilioWebhookEnabled
- The X-Twilio-Webhook-Enabled HTTP request headerpublic boolean delete(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.