Levain LabsLevain Labs
API ReferenceOrganization

Disable Webhook Endpoint

Deactivate an endpoint.

Deactivate an endpoint.

Delivery history is kept; deliveries still pending when the endpoint is disabled are marked dead.

DELETE
/api/v1/org/webhooks/{endpoint_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

endpoint_id*Endpoint Id
Formatuuid

Header Parameters

X-API-Key?string|null

Response Body

application/json

application/json

curl -X DELETE "https://api.levainlabs.com/api/v1/org/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}