Delete a webhook
DELETE
https://dev.breeze-technologies.de/api/v3/wildfires/webhooks/:id
Unregister a webhook to stop receiving notifications for this endpoint.
- cURL
- Python
- Javascript
DELETE /api/v3/wildfires/webhooks/:id
curl -X DELETE 'https://dev.breeze-technologies.de/api/v3/wildfires/webhooks/550e8400-e29b-41d4-a716-446655440000' \
-d api_token=<YOUR_API_TOKEN>
DELETE /api/v3/wildfires/webhooks/:id
import requests
webhook_id = "550e8400-e29b-41d4-a716-446655440000"
url = f"https://dev.breeze-technologies.de/api/v3/wildfires/webhooks/{webhook_id}"
params = {
"api_token": "<YOUR_API_TOKEN>"
}
response = requests.request("DELETE", url, params=params)
print(response.text)
DELETE /api/v3/wildfires/webhooks/:id
const axios = require("axios");
const webhookId = "550e8400-e29b-41d4-a716-446655440000";
let config = {
method: "delete",
maxBodyLength: Infinity,
url: `https://dev.breeze-technologies.de/api/v3/wildfires/webhooks/${webhookId}`,
params: {
api_token: "<YOUR_API_TOKEN>",
},
};
axios
.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Parameters
| Name | Description | Type | Data type | Required |
|---|---|---|---|---|
| id | The webhook ID to delete | path | string | Yes |
| api_token | The current user's API token | query | string | Yes |
Returns
{
"message": "Webhook deleted"
}