DELETE api/2.0/community/bookmark/@favs/{id} This function requires authentication

Description

Removes a bookmark from favorites. If after removing the user bookmark, its rating is 0, then the bookmark will be removed completely.

Parameters
Name Description Type Example
id
sent in url
Bookmark ID number 1234
Example
DELETE api/2.0/community/bookmark/@favs/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Bookmark

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": "11",
    "Url": "http:\\/\\/www.google.com",
    "Thumbnail": "Url to thumbnail",
    "Created": "2020-12-06T07:36:14.8181893Z",
    "Updated": "2020-12-06T07:36:14.8181893Z",
    "Description": "Google",
    "CreatedBy": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DisplayName": "Mike Zanyatski",
      "Title": "Manager",
      "AvatarSmall": "url to small avatar",
      "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
    },
    "Title": "Google inc."
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>11</Id>
    <Url>http:\/\/www.google.com</Url>
    <Thumbnail>Url to thumbnail</Thumbnail>
    <Created>2020-12-06T07:36:14.8181893Z</Created>
    <Updated>2020-12-06T07:36:14.8181893Z</Updated>
    <Description>Google</Description>
    <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>
    <Title>Google inc.</Title>
  </response>
</result>