DELETE
/
webhooks
curl --request DELETE \
  --url https://api.formo.so/api/webhooks \
  --header 'x-api-key: <api-key>'
{
  "isSuccess": true,
  "data": {
    "message": "Webhook unsubscribed successfully"
  }
}

Removes a webhook subscription using either a webhook ID or target URL as a query parameter. You must provide either webhookId or targetUrl as a query parameter.

Authorizations

x-api-key
string
header
required

Query Parameters

webhookId
string

The unique identifier of the webhook subscription

targetUrl
string

The URL that receives webhook events

Response

200
application/json
Successfully unsubscribed from webhook
isSuccess
boolean
Example:

true

data
object