Guides

Remove bookmark

📘

Full code example

https://github.com/lens-protocol/api-examples/blob/master/src/bookmarks/remove-bookmark.ts

This API call allows you to remove bookmark form publications with a profile off-chain without needing to sign.

🚧

This request is protected by authentication

hint: this means it requires an x-access-token header put in the request with your authentication token.

API Design

Remove a bookmark form a publication.

This returns a void so no need to care about its response if successful.

mutation RemovePublicationProfileBookmark {
  removePublicationProfileBookmark(request: { profileId: "0x01", publicationId: "0x02-0x01" })
}

Request

profileId - required

The profile id you wish to remove bookmark from the authenticated user must own that profile.

publicationId - required

which publication do you wish to remove bookmark