Delete Webhook Endpoint
curl --request DELETE \
--url https://uat-api.clinkbill.com/api/webhook/endpoints/{id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-Timestamp: <x-timestamp>'HttpResponse<String> response = Unirest.delete("https://uat-api.clinkbill.com/api/webhook/endpoints/{id}")
.header("X-Timestamp", "<x-timestamp>")
.header("X-API-KEY", "<api-key>")
.asString();import requests
url = "https://uat-api.clinkbill.com/api/webhook/endpoints/{id}"
headers = {
"X-Timestamp": "<x-timestamp>",
"X-API-KEY": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'X-Timestamp': '<x-timestamp>', 'X-API-KEY': '<api-key>'}
};
fetch('https://uat-api.clinkbill.com/api/webhook/endpoints/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 200,
"msg": "Success",
"data": null
}{
"code": 123,
"msg": "<string>",
"data": "<unknown>"
}{
"code": 123,
"msg": "<string>",
"data": "<unknown>"
}Webhook Endpoint Management
Delete Webhook Endpoint
Delete a webhook endpoint. Deleted endpoints stop receiving webhook events.
DELETE
/
webhook
/
endpoints
/
{id}
Delete Webhook Endpoint
curl --request DELETE \
--url https://uat-api.clinkbill.com/api/webhook/endpoints/{id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-Timestamp: <x-timestamp>'HttpResponse<String> response = Unirest.delete("https://uat-api.clinkbill.com/api/webhook/endpoints/{id}")
.header("X-Timestamp", "<x-timestamp>")
.header("X-API-KEY", "<api-key>")
.asString();import requests
url = "https://uat-api.clinkbill.com/api/webhook/endpoints/{id}"
headers = {
"X-Timestamp": "<x-timestamp>",
"X-API-KEY": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'X-Timestamp': '<x-timestamp>', 'X-API-KEY': '<api-key>'}
};
fetch('https://uat-api.clinkbill.com/api/webhook/endpoints/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 200,
"msg": "Success",
"data": null
}{
"code": 123,
"msg": "<string>",
"data": "<unknown>"
}{
"code": 123,
"msg": "<string>",
"data": "<unknown>"
}Authorizations
Your secret API key obtained from the Clink dashboard (Developers section)
Headers
Current timestamp in milliseconds since Unix epoch (required for request signing)
Example:
"1783513683000"
Path Parameters
Unique identifier of the webhook endpoint.