/v1/workspaces/{workspace_id}/communities/{community_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
community_id*string · uuidSocial community UUID. The same endpoints as `/v1/communities/{community_id}/webhooks`; this path also accepts a console session.
endpoint_id*string · uuidId of the endpoint.
workspace_id*undefined · uuidWorkspace UUID the community belongs to.
Response · 204
Deleted.
Example
Request
DELETE https://social.productcraft.co/v1/workspaces/{workspace_id}/communities/{community_id}/webhooks/endpoints/{endpoint_id}
Authorization: Bearer YOUR_TOKENimport { Social } from "@productcraft/social";
// Reads PRODUCTCRAFT_API_KEY from the environment
const social = new Social();
await social.communities.webhooks.endpoints.delete("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", "3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f");social.communities.webhooks.endpoints.delete(communityId, endpointId, options?): void