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

Description

Deletes a post with the ID specified in the request from blogs.

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

Deleted post

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Title": "Example post",
    "Updated": "2020-12-06T07:36:14.7981820Z",
    "CreatedBy": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DisplayName": "Mike Zanyatski",
      "Title": "Manager",
      "AvatarSmall": "url to small avatar",
      "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
    },
    "Tags": [
      "Tag1",
      "Tag2"
    ],
    "Text": "Post text",
    "Created": "2020-12-06T07:36:14.7981820Z"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <Title>Example post</Title>
    <Updated>2020-12-06T07:36:14.7981820Z</Updated>
    <CreatedBy>
      <Id>00000000-0000-0000-0000-000000000000</Id>
      <DisplayName>Mike Zanyatski</DisplayName>
      <Title>Manager</Title>
      <AvatarSmall>url to small avatar</AvatarSmall>
      <ProfileUrl>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl>
    </CreatedBy>
    <Tags>Tag1</Tags>
    <Tags>Tag2</Tags>
    <Text>Post text</Text>
    <Created>2020-12-06T07:36:14.7981820Z</Created>
  </response>
</result>