Skip to content
OpenTrain AIOpenTrain AIOpenTrain AIDocs

Ask OpenTrain

Answers from the documentation, with sources.

What would you like to do with OpenTrain?

AI answers can be mistaken. Check the linked sources. Don’t include private account information.

Open app

DEVELOPER DOCUMENTATION

Delete Webhook Endpoint

Permanently remove a webhook endpoint. Pending deliveries are discarded.

DELETE/api/partner/v1/webhook-endpoints/{endpointId}

Permanently removes a webhook endpoint. Pending deliveries are discarded. Deleting and re-creating is also how you rotate the signing secret — the new endpoint gets a new one.

If you only want to pause delivery, set status to DISABLED instead.

Requirements: webhooks:manage scope.

endpointIdstringpathrequired

The webhook endpoint ID to remove.

webhookEndpointobject

Final snapshot of the removed endpoint: {id, url, eventTypes, status, createdAt, consecutiveFailures, disabledAt, disabledReason}.

deletedboolean

Always true on success.

StatuscodeMeaning
401UNAUTHORIZEDMissing, invalid, or revoked token
403FORBIDDENToken lacks webhooks:manage
404NOT_FOUNDNo endpoint with this ID on this install