Skip to contentSkip to page list

Docs

Archive a webhook endpoint

Archive a webhook endpoint

DELETE/api/webhooks/v1/endpoints/{id}
Request and response examples
request.py
import osimport requests​origin = "https://app.langwatch.ai"path = "/api/webhooks/v1/endpoints/<id>"api_key = os.environ["LANGWATCH_API_KEY"]headers = {    "Authorization": "Bearer " + api_key,}​response = requests.delete(    origin + path,    headers=headers,)print(response.json())

Success

application/json · Generated from schema

{  "data": {    "archived": true  }}
api-reference/webhooks/archive-a-webhook-endpoint

Authorization

Authorizationstringheaderrequired

Admin API key for organization-level operations (managing projects, API keys). Create one in Settings > API Keys or via POST /api/api-keys. Format: sk-lw-{id}_{secret}.

Path parameters

idstringrequired
At least 1 character

Responses

200

Success

application/json

dataobjectrequired
archivedbooleanrequired
Alwaystrue

Documentation