SparrowDesk
Webhook targets

Unsubscribe a webhook target

Any authenticated credential on the account can remove any webhook target, regardless of which credential created it.

DELETE
/webhooks/{id}
AuthorizationBearer <token>

In: header

Path Parameters

idinteger

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.sparrowdesk.com/v1/webhooks/0"
{
  "data": {
    "success": true
  }
}
{
  "message": "Unauthorized"
}
{
  "error": {
    "message": "string"
  }
}
{
  "error": {
    "message": "string"
  }
}
{
  "name": "RateLimitExceeded",
  "message": "Rate limit exceeded for: APIS_PER_MINUTE",
  "code": 429,
  "details": [
    {
      "name": "APIS_PER_MINUTE",
      "quota": 0,
      "count": 0,
      "remaining": 0
    }
  ]
}
{
  "error": {
    "message": "string"
  }
}