appBskyBookmarkDeleteBookmark function

Future<XRPCResponse<EmptyData>> appBskyBookmarkDeleteBookmark({
  1. required AtUri uri,
  2. required ServiceContext $ctx,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Deletes a private bookmark for the specified record. Currently, only app.bsky.feed.post records are supported. Requires authentication.

Implementation

Future<XRPCResponse<EmptyData>> appBskyBookmarkDeleteBookmark({
  required AtUri uri,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.appBskyBookmarkDeleteBookmark,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'uri': uri.toString()},
);