---
title: "Delete a trigger subscription"
method: DELETE
path: "/api/v1/connections/{connection_id}/trigger-subscriptions/{subscription_id}"
tags: ["Triggers"]
---

# Delete a trigger subscription

`DELETE /api/v1/connections/{connection_id}/trigger-subscriptions/{subscription_id}`

## Request

- Base URL: `https://$SCALEKIT_ENVIRONMENT_URL`
- URL: `https://$SCALEKIT_ENVIRONMENT_URL/api/v1/connections/{connection_id}/trigger-subscriptions/{subscription_id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://$SCALEKIT_ENVIRONMENT_URL/oauth/token`
- TypeScript: <https://skmtc.dev/scalekit/apis/scalekit-api-reference/docs/api/v1/connections/:connection_id/trigger-subscriptions/:subscription_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a trigger subscription from a connection. Use this endpoint when an account or connection should stop receiving a trigger's events. Pass the connection ID and the subscription ID in the path; the subscription must belong to that connection. New events no longer match the subscription, and a polled subscription stops polling. Events already handed off for delivery before the delete are not affected. The delete is permanent; to receive the trigger again, create a new subscription. Returns an empty body.

## Path parameters

- `connection_id` string, required
- `subscription_id` string, required

## Response `200`

The subscription was deleted; empty body

- ProtobufEmpty: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

## Other responses

- `400`: Invalid request - connection_id is not a valid connection ID, or subscription_id is not a valid trigger subscription ID
- `404`: Not found - no subscription with this ID exists on this connection in this environment, or Triggers is not enabled for the environment
- `500`: Internal error - the subscription could not be deleted; retry the request

## Changes

- **2026-10-30** `f47f1022d844`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scalekit/apis/scalekit-api-reference/changes/api/v1/connections/:connection_id/trigger-subscriptions/:subscription_id/delete.md)

---

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