Delete
teams.webhook_endpoints.delete(strwebhook_endpoint_id, WebhookEndpointDeleteParams**kwargs) -> object
DELETE/teams/{teamId}/webhook-endpoints/{webhookEndpointId}
Delete a particular webhook endpoint by its Id
Delete
import os
from scenario_sdk import Scenario
client = Scenario(
api_key=os.environ.get("SCENARIO_SDK_API_KEY"), # This is the default and can be omitted
api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"), # This is the default and can be omitted
)
webhook_endpoint = client.teams.webhook_endpoints.delete(
webhook_endpoint_id="webhookEndpointId",
team_id="teamId",
)
print(webhook_endpoint){}Returns Examples
{}