Skip to main content
DELETE
/
api
/
v1
/
user
/
conversations
/
{conversationId}
Delete conversation
curl --request DELETE \
  --url https://handauncle-backend-prod-205012263523.asia-south1.run.app/api/v1/user/conversations/{conversationId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "deleted": true,
    "conversationId": "<string>"
  },
  "meta": {
    "timestamp": "2023-11-07T05:31:56Z",
    "requestId": "<string>"
  }
}
Soft-deletes the conversation (status becomes deleted) after verifying ownership. The payload simply confirms { deleted: true, conversation_id }, allowing the client to optimistically remove the thread locally.

Authorizations

Authorization
string
header
required

Auth0 access token for registered users.

Path Parameters

conversationId
string
required

Conversation ID (24 character MongoDB ObjectId).

Required string length: 24

Response

Conversation deleted.

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required