Get Started
Portal api methods
Help

DELETE api/2.0/community/forum/thread/{threadid} This function requires authentication

Description

Deletes a selected thread

Parameters
Name Description Type Example
threadid
sent in url
Thread ID number 1234
Example
DELETE api/2.0/community/forum/thread/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": 10,
    "title": "The Thread",
    "updatedBy": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "description": "Sample thread",
    "created": "2019-12-15T06:37:50.8679633Z",
    "updated": "2019-12-15T06:37:50.8679633Z",
    "recentTopicId": 1234,
    "recentTopicTitle": "Sample topic"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>10</id>
    <title>The Thread</title>
    <updatedBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </updatedBy>
    <description>Sample thread</description>
    <created>2019-12-15T06:37:50.8679633Z</created>
    <updated>2019-12-15T06:37:50.8679633Z</updated>
    <recentTopicId>1234</recentTopicId>
    <recentTopicTitle>Sample topic</recentTopicTitle>
  </response>
</result>