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
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | RemyPass 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
| Status | Description |
|---|---|
200 | Deleted; data is null |
400 | Bad request. The top-level message explains what is invalid and, where applicable, the errors array contains structured field details. |
401 | Missing or invalid API key. |
403 | The caller is not allowed to access this resource. |
404 | Resource not found. |
429 | Rate limit exceeded. |
500 | Server error. |
200 Response Example
{
"success": true,
"message": "Success",
"data": null
}
Response Fields
| Field | Type | Description | Attributes |
|---|---|---|---|
success | boolean | ||
message | string | ||
data | null |