Delete a bookmark folder

​

Deletes a folder and every bookmark and folder inside it

OAuth scopes
  • openid

Path Parameters

Responses

  • application/json
Request Example for delete/viewer/v1/bookmark-folders/{folderId}
curl 'https://api.specs.wseng.ai/viewer/v1/bookmark-folders/{folderId}' \
  --request DELETE \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "folders": [
    {
      "id": "string",
      "name": "string",
      "parentId": "string",
      "position": 0
    }
  ],
  "bookmarks": [
    {
      "githubSlug": "string",
      "path": "string",
      "title": "string",
      "folderId": "string",
      "position": 0
    }
  ],
  "lastFolderId": "string"
}