---
title: "Archive Event Subscription"
method: DELETE
path: "/eventSubscriptions/{eventSubscriptionKey}"
tags: ["Event Subscriptions"]
---

# Archive Event Subscription

`DELETE /eventSubscriptions/{eventSubscriptionKey}`

## Request

- Base URL: `https://eu-west-1.api.silverflow.com/v1`
- URL: `https://eu-west-1.api.silverflow.com/v1/eventSubscriptions/{eventSubscriptionKey}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/silverflow/apis/silverflow-api/docs/eventSubscriptions/:eventSubscriptionKey/delete.ts> (a function with typed inputs; its response is checked against the schema)

This operation archives the specified Event Subscription.
When the subscription is deleted successfully, a test event will be sent to the `targetUrl`.

Requires `eventSubscriptions:Archive` permission.

## Path parameters

- `eventSubscriptionKey` string, required

## Response `204`

Event Subscription deleted successfully

## Other responses

- `401`: Authentication information is missing or invalid
- `403`: The authenticated client is forbidden to make the request for the resource identified.
- `404`: The requested resource was not found
- `412`: The conditions specified in the HTTP headers of the request were not met.
- `429`: The number of requests (per minute) has exceeded the configured maximum

---

[API](https://skmtc.dev/silverflow/apis/silverflow-api.md) - [All operations](https://skmtc.dev/silverflow/apis/silverflow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/silverflow/apis/silverflow-api/revisions/43ecbe4fd6ea?raw)
