Skip to main content

Delete webhook subscription

DELETE /webhook-subscriptions/{id}

Requires webhooks:write, public API access and webhook access for the organisation.

Authorization​

X-API-Key required

Parameters​

NameLocationTypeRequiredDescription
idpathstringYesRemyPass resource _id

Deletes delivery history and removes the subscription from pending event recipients. An HTTP request already in progress may complete.

Request Examples​

curl -X DELETE "https://api.remypass.com/api/v1/public/webhook-subscriptions/507f1f77bcf86cd799439011" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"

Responses​

StatusDescription
200Deleted; data is null
400Bad request. The top-level message explains what is invalid and, where applicable, the errors array contains structured field details.
401Missing or invalid API key.
403The caller is not allowed to access this resource.
404Resource not found.
429Rate limit exceeded.
500Server error.

200 Response Example​

{
"success": true,
"message": "Success",
"data": null
}

Response Fields​

FieldTypeDescriptionAttributes
successboolean
messagestring
datanull