Skip to main content
DELETE
/
connect
/
{namespace}
/
{connectionId}
/
.triggers
/
{triggerName}
Unsubscribe from trigger
curl --request DELETE \
  --url https://api.smithery.ai/connect/{namespace}/{connectionId}/.triggers/{triggerName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "params": {},
  "delivery": {
    "url": "https://my-app.example.com/events"
  }
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

namespace
string
required
connectionId
string
required
triggerName
string
required

Body

application/json
params
object
required

The same params used at subscribe time. Forms part of the subscription key.

delivery
object
required

Response

Subscription removed

success
boolean
required