TENANT API · V1
Delete webhook subscriptions Stop delivery and revoke subscription secret.
DELETE /api/v1/tenant/webhook-subscriptions/{id}
Authorization Use a server-side API key with the listed grants and permitted resource access.
Path parameters
idstring · required Opaque identifier in the authorized resource scope. Nested identifiers must belong to their parent resource. Response 204 No content
A successful deletion has no response body.
Behavior to account for Events are delivered at least once. Deduplicate by event ID, compare resource versions, and retain a replay cursor.
Errors Authentication failures return 401 or 403. Inaccessible resources return 404. Business and idempotency conflicts return 409. Rate limits return 429 with retry guidance.
Error handling guide REQUEST API key
curl --request DELETE 'https://api.wincora.com/api/v1/tenant/webhook-subscriptions/id_example' \
--header 'X-Api-Key: YOUR_API_KEY' const response = await fetch ( 'https://api.wincora.com/api/v1/tenant/webhook-subscriptions/id_example' , {
method: 'DELETE' ,
headers: {
"X-Api-Key" : process.env. WINCORA_API_KEY
}
});
if ( ! response.ok) throw new Error ( await response. text ());
// No response body. import os
import requests
response = requests.request(
'DELETE' ,
'https://api.wincora.com/api/v1/tenant/webhook-subscriptions/id_example' ,
headers = {
"X-Api-Key" : os.environ[ "WINCORA_API_KEY" ]
},
timeout = 30 ,
)
response.raise_for_status() Keep this API key on your server. Never embed it in browser or mobile code.