aboutsummaryrefslogtreecommitdiffstats
path: root/docs/versioned_docs/version-v0.23.1/API/detach-asset.api.mdx
blob: cd2c236e249077f4bfd010b4bd088efa6b5d0839 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
id: detach-asset
title: "Detach asset"
description: "Detach an asset from a bookmark"
sidebar_label: "Detach asset"
hide_title: true
hide_table_of_contents: true
api: eJy9VE1v2zAM/SsCTxugxe3QYYVvGdphHYah2DLsEPjA2EzsxrZUiW6TGfrvA/2RjzYrdhiWSyzpiXp8fGQLGfnUFZYLU0MMV8SY5gprhd4Tq6UzlUK1MGZdoVuDBsaVh3gOH4YtD4kGT2njCt5CPG9hQejITRvOIZ4nIdFg0WFFTM53AJ/mVCHELfDWEsTg2RX1CjTQBitbylZBRVZutqvq8e7yvdn8epdvmE16KQwK7iAjg5sMggZH903hKIOYXUMaaqwEtNiDNBSSokXOIeh/RmMqQr3IAQfEEYFE4N6a2pMXDm/PLuTvuBxfjUpNzVSzejNU5BG9yroqUaZ8k6bk/bIpy60QuDgVZNRJ1YbV0jS1MBnCChqtLYsUBR3deblyQhuzuKOUQYN1xpLjomedmoyeKxg0VOQ9rk6dHek07yPs8UmQn6w5NxnEkFFJLIhOthiisaI+avfFDVGnjo/aQewA4kr3MHqucSXE0GKWOfI+RGiL6OEcNDygK3BR9ukMx72GS2xKhhhyZuvjKGK3neQGXUZugtaCfqLzLCc1BFBmqTgnNcBVzwRCCAfN8l007t89bJmdYPKuZNHBxModCPTw8dG4CoXf55+zTtWiXhq5Ljn3jM4nZ5OzA6t+GuhMb29Osp/e3qilcR31ESuZBg3WeK6w88bg6nFUiN5Po7V7f/3NSOnzZdpwZEssanmwK1g7VH2+62MPGuKjpu4LL9tjnyUacuNZrrXtAj39cGUIsn3fkJMhlezr3rkjK7x8ZxAvsfT0Qjavvg3efa3+xHzYxHrb2atsZAUa1rQ9HkgyhP7jy6M8IQkacsKMXJd8fzpNU7J8cO/ZWBDv7try6vrL9exa5D827ROTdg+cpNW2PWJm1lSHsGPJshaOIfwG11pC+w==
sidebar_class_name: "delete api-method"
info_path: API/hoarder-api
custom_edit_url: null
hide_send_button: true
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Detach asset"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/bookmarks/{bookmarkId}/assets/{assetId}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Detach an asset from a bookmark

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"204":{"description":"No content - asset was detached successfully"},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
>
  
</StatusCodes>