/v1/communities/{community_id}/conversations/{conversation_id}AuthLeave the conversation. Drops the caller's participant row; the conversation is hard-deleted when the last participant leaves. Pass the actor via `?actor_id=`.
Path parameters
community_id*stringSocial community UUID. Must belong to the PAK's workspace.
conversation_id*stringConversation UUID.
Query parameters
actor_id*string · uuidThe leaving participant — social actor UUID.
Response · 204
Caller removed from the conversation.
Example
Request
DELETE https://social.productcraft.co/v1/communities/{community_id}/conversations/{conversation_id}
Authorization: Bearer YOUR_TOKENimport { Social } from "@productcraft/social";
// Reads PRODUCTCRAFT_API_KEY from the environment
const social = new Social();
await social.community("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").as("7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d").conversations.delete("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", {});social.community(…).conversations.delete(conversationId, params, options?): void