Skip to content

[Conversation] Delete Conversation or Messages

  • Endpoint Path: /api/fresns/v1/conversation/{uidOrUsername}
  • Method: DELETE
  • Request: Rest + application/json

Headers Optional Parameter

KeyPublic Mode (Required)Private Mode (Required)
X-Fresns-Aidrequiredrequired
X-Fresns-Aid-Tokenrequiredrequired
X-Fresns-Uidrequiredrequired
X-Fresns-Uid-Tokenrequiredrequired

Path Variables

KeyTypeRequiredDescription
uidOrUsernameNumber / StringrequiredUser uid or username

Body Params

KeyTypeRequiredDescription
typeStringrequiredconversation or messages
cmidsStringoptionalThe messages option is specialized.
separated by English commas for multiple cmid

Return

json
{
    "code": 0,
    "message": "ok",
    "data": null
}

Released under the Apache-2.0 License