detach-asset.api.mdx•2.67 kB
---
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>