/v1/workspaces/{workspace_id}/communities/{community_id}AuthDelete a community. Cascades to every actor, post, comment, edge, flag, and notification it owns. Not reversible.
Path parameters
workspace_id*stringProductCraft workspace UUID owning the community.
community_id*stringSocial community UUID.
Response · 204
Community deleted.
Example
Request
DELETE https://social.productcraft.co/v1/workspaces/{workspace_id}/communities/{community_id}
Authorization: Bearer YOUR_TOKENimport { Social } from "@productcraft/social";
// Reads PRODUCTCRAFT_API_KEY from the environment
const social = new Social();
await social.communities.delete("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f");social.communities.delete(communityId, options?): void