Fetchply Docs
DELETE
/api/v1/hooks/subscribe

Removes an existing webhook subscription by its ID.

Authorization

bearerAuth
AuthorizationBearer <token>

API key with fp_ prefix. Generate keys in your Fetchply dashboard under Settings > API Keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

id*string

The webhook subscription ID to remove.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://fetchply.com/api/v1/hooks/subscribe" \  -H "Content-Type: application/json" \  -d '{    "id": "string"  }'
{
  "success": true
}
{
  "success": false,
  "error": "Invalid or missing API key"
}
{
  "success": false,
  "error": "Resource not found"
}
{
  "success": false,
  "error": "Rate limit exceeded"
}