Delete webhooks
webhooks.delete(WebhookDeleteParams**kwargs) -> WebhookDeleteResponse
/api/account/webhooks
Delete specific webhooks from the account
Parameters
Returns
Delete webhooks
import os
from sendblue_api import SendblueAPI
client = SendblueAPI(
api_key=os.environ.get("SENDBLUE_API_API_KEY"), # This is the default and can be omitted
api_secret=os.environ.get("SENDBLUE_API_API_SECRET"), # This is the default and can be omitted
)
webhook = client.webhooks.delete(
webhooks=["https://example.com"],
)
print(webhook.message)
{
"message": "Webhooks deleted successfully",
"status": "OK"
}
Returns Examples
{
"message": "Webhooks deleted successfully",
"status": "OK"
}