Skip to main content

delete_bookmark

Soft-delete a bookmark (moves to trash).

def delete_bookmark(
bookmark_id: string
) - > tuple

Soft-delete a bookmark (moves to trash).

Parameters

NameTypeDescription
bookmark_idstringThe unique identifier of the bookmark to be deleted.

Returns

TypeDescription
tupleReturns a tuple containing a JSON response and an HTTP status code. Returns an error message and 404 if the bookmark is not found, otherwise returns an empty response and 204 on successful deletion.