Delete a Webhook Endpoint
DELETE
https://api.konpro.ai/v1/webhook/endpoint.deleteRemove an existing webhook endpoint from your account by specifying its unique endpoint ID. This action cannot be undone.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
cURL Request
shell
curl --request DELETE \
--url "https://api.konpro.ai/v1/webhook/endpoint.delete?endpoint_id=endpoint123" \
--header "accept: application/json" \
--header "x-api-key: <your-api-key>"Query Parameter
| Parameter | Type | Description |
|---|---|---|
| endpoint_id | string | Unique identifier of the webhook endpoint to delete |
Response
Response Structure
| Field | Type | Description |
|---|---|---|
| endpoint_id | string | ID of the deleted webhook endpoint |
| status | string | Deletion status confirmation |
| message | string | Confirmation message |
| deleted_at | datetime | Timestamp of deletion |
Sample Response
json
{
"endpoint_id": "webhook_123456",
"status": "deleted",
"message": "Webhook endpoint successfully deleted",
"deleted_at": "2024-01-15T15:45:00Z"
}Notes
- Requires API authentication.
- Endpoint ID must exist and belong to the authenticated user.
- This action cannot be undone.
- All webhook notifications will stop immediately.
- Endpoint configuration and history will be permanently removed.
- Secret token will be invalidated.
- Returns 404 if endpoint does not exist.
- Refer to Error Responses for error information.
Example Usage
Shell
curl --request DELETE \
--url "https://api.konpro.ai/v1/webhook/endpoint.delete?endpoint_id=endpoint123" \
--header "accept: application/json" \
--header "x-api-key: <your-api-key>"LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
404 - Not Found
LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
404 - Not Found