Skip to content

Delete webhook ​

Interface Description ​

Delete one webhook subscription by webhookId.

Endpoint ​

FieldValue
MethodDELETE
Path/openapi/v2/webhooks/{webhookId}
Operation IDdeleteWebhook
AuthenticationBearer OpenAPI key

Parameters ​

NameLocationRequiredTypeExampleDescription
webhookIdpathYesstringwebhook-11111111-1111-4111-8111-111111111111Webhook identifier returned by webhook APIs.

Request Body ​

This operation has no request body.

Request Example ​

bash
curl -X DELETE "https://openapi.example.com/openapi/v2/webhooks/webhook-11111111-1111-4111-8111-111111111111" \
  -H "Authorization: Bearer <openapi-key>"

Successful Responses ​

200 ​

Confirmation that the webhook subscription was deleted.

FieldRequiredTypeDescription
deletedYesbooleanWhether the webhook subscription was deleted.
webhookIdYesstringDeleted webhook identifier.

Success Response Example ​

json
{
  "deleted": true,
  "webhookId": "webhook-11111111-1111-4111-8111-111111111111"
}

Error Codes ​

The table below lists every error response documented for this operation.

HTTP StatusError CodeExplanation
401UNAUTHORIZEDThe Bearer API key is missing, malformed, unknown, revoked, or deleted.
404NOT_FOUNDThe requested resource was not found.
429RATE_LIMITEDThe request exceeded the configured rate limits.
500INTERNAL_ERRORThe API encountered an internal error.
503DATABASE_REPOSITORY_UNAVAILABLEThe data required by this operation is temporarily unavailable.

Next Steps ​