InvestiFiPartner APIBeta
Prod Environment

Delete Webhook Subscription

Unsubscribe by disabling the subscription so delivery stops. Soft-disable: the record is kept with `enabled=False` and `disabled_at` set. Disabling an already-disabled subscription is a no-op and still returns 204 No Content, so unsubscribe is idempotent.

Parameters
subscription_id
Opaque id of the subscription to unsubscribe.
api_key
Resolved Partner API key, providing the financial institution scope for the lookup.
Returns

An empty 204 No Content response.

Raises
HTTPException
404 Not Found when no subscription with that id exists for this financial institution.
https://partner-api.investifi.com/v1
DELETE
/webhooks/subscriptions/{subscription_id}

Authorization

APIKeyHeader
x-api-key<token>

In: header

Path Parameters

subscription_id*Subscription Id

Response Body

application/json

curl -X DELETE "https://partner-api.investifi.com/v1/webhooks/subscriptions/string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}