Request
Permanently delete a webhook endpoint. Events will no longer be sent to this URL.
Deleting a webhook is permanent. You will need to create a new webhook to resume receiving events.
Bearer token for authentication. Format: Bearer YOUR_API_KEY
Path Parameters
The unique identifier of the webhook to delete (e.g., wh_abc123)
Response
Returns a confirmation of deletion.
The ID of the deleted webhook
curl -X DELETE https://api.ringyo.ai/v1/webhooks/wh_abc123 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"id": "wh_abc123",
"deleted": true
}
Error Codes
| Code | Description |
|---|
webhook_not_found | The specified webhook_id does not exist |
unauthorized | You don’t have permission to delete this webhook |
Alternative: Disable Instead
Instead of deleting, you can disable a webhook by updating its status:
curl -X PATCH https://api.ringyo.ai/v1/webhooks/wh_abc123 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"status": "inactive"}'
This preserves the webhook configuration so you can re-enable it later.