Leave thread
POST
Removes the acting principal from a thread's members and returns an empty response. Requires write access to the thread.
bearerAuthheader
AuthorizationBearer <token>An API key created in Capy under Settings → API.
threadId*stringcurl -X POST "https://api.capy.ai/api/v1/threads/{threadId}/leave" \ -H "Authorization: Bearer $CAPY_API_KEY"Empty