DELETE api/2.0/community/forum/category/{categoryid}
Deletes a selected thread category
Name |
Description |
Type |
Example |
categoryid
sent in url
|
Category ID
|
number
|
1234
|
DELETE api/2.0/community/forum/category/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": {
"id": 0,
"title": "Sample title",
"created": "2021-01-21T09:11:56.0062573Z",
"updated": "2021-01-21T09:11:56.0062573Z",
"description": "Sample category",
"threads": [
{
"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": "2021-01-21T09:11:56.0062573Z",
"updated": "2021-01-21T09:11:56.0062573Z",
"recentTopicId": 1234,
"recentTopicTitle": "Sample topic"
}
]
}
}
text/xml
<result>
<status>0</status>
<response>
<id>0</id>
<title>Sample title</title>
<created>2021-01-21T09:11:56.0062573Z</created>
<updated>2021-01-21T09:11:56.0062573Z</updated>
<description>Sample category</description>
<threads>
<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>2021-01-21T09:11:56.0062573Z</created>
<updated>2021-01-21T09:11:56.0062573Z</updated>
<recentTopicId>1234</recentTopicId>
<recentTopicTitle>Sample topic</recentTopicTitle>
</threads>
</response>
</result>