/v1/apps/{app_id}/webhooks/endpoints/{endpoint_id}AuthDelete a webhook endpoint.
Queued retries are dropped. Its past attempts stay in the event log until the events expire.
Path parameters
app_id*string · uuidId of the app.
endpoint_id*string · uuidId of the endpoint.
Response · 204
Deleted.
Example
Request
DELETE https://api.auth.productcraft.co/v1/apps/{app_id}/webhooks/endpoints/{endpoint_id}
Authorization: Bearer YOUR_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
await auth.admin.app("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").webhooks.endpoints.delete("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f");auth.admin.app(…).webhooks.endpoints.delete(endpointId, options?): void