---
title: "Archive a webhook"
method: DELETE
path: "/v2/webhooks/{webhook_key}"
tags: ["Webhooks"]
---

# Archive a webhook

`DELETE /v2/webhooks/{webhook_key}`

Webhook events will no longer be delivered to the attached endpoints.

## Path parameters

- `webhook_key` string, required

## Response `200`

Webhook events will no longer be delivered to the attached endpoints.

- object
  - `data` object, required — Webhook
    - `created_at` integer — Immutable Unix timestamp in milliseconds taken at time of creation
    - `key` string — A unique identifier used to reference the object
    - `updated_at` integer — Unix timestamp in milliseconds taken at time of last update
    - `events` string[] — A list of events to send to the registered Webhook.
    - `target_url` string, uri — URL endpoint Webhook data will be sent to.
  - `message` string, required
  - `status` integer, required

## Other responses

- `400` — Bad Request Error
- `401` — Unauthorized Error
- `403` — Forbidden Error
- `404` — Not Found Error
- `500` — Internal Server Error

---

[API](https://skmtc.dev/partnerstack/apis/partnerstack-api.md) · [All operations](https://skmtc.dev/partnerstack/apis/partnerstack-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/partnerstack/partnerstack-api/revisions/0f35aebe53a9/schema)
