Skip to content
Get started

Delete

projects.webhook_endpoints.delete(strwebhook_endpoint_id, WebhookEndpointDeleteParams**kwargs) -> object
DELETE/projects/{projectId}/webhook-endpoints/{webhookEndpointId}

Delete a particular webhook endpoint by its Id

ParametersExpand Collapse
project_id: str
webhook_endpoint_id: str
ReturnsExpand Collapse
object

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.projects.webhook_endpoints.delete(
    webhook_endpoint_id="webhookEndpointId",
    project_id="projectId",
)
print(webhook_endpoint)
{}
Returns Examples
{}