Delete a Webhook Endpoint

DELETEhttps://api.konpro.ai/v1/webhook/endpoint.delete

Remove 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

TIMESTATUSUSER 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

ParameterTypeDescription
endpoint_idstringUnique identifier of the webhook endpoint to delete

Response

Response Structure

FieldTypeDescription
endpoint_idstringID of the deleted webhook endpoint
statusstringDeletion status confirmation
messagestringConfirmation message
deleted_atdatetimeTimestamp 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