Get Started
Portal api methods
Help

DELETE api/2.0/community/blog/{postid} This function requires authentication

Description

Deletes the selected post from blogs

Parameters
Name Description Type Example
postid
sent in url
post ID to delete guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Example
DELETE api/2.0/community/blog/9924256A-739C-462b-AF15-E652A3B1B6EB
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Nothing

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": "00000000-0000-0000-0000-000000000000",
    "title": "Example post",
    "created": "2019-10-15T09:54:26.6967681Z",
    "updated": "2019-10-15T09:54:26.6967681Z",
    "createdBy": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "tags": [
      "Tag1",
      "Tag2"
    ],
    "text": "Post text"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>00000000-0000-0000-0000-000000000000</id>
    <title>Example post</title>
    <created>2019-10-15T09:54:26.6967681Z</created>
    <updated>2019-10-15T09:54:26.6967681Z</updated>
    <createdBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </createdBy>
    <tags>Tag1</tags>
    <tags>Tag2</tags>
    <text>Post text</text>
  </response>
</result>