destroyNotification abstract method

Future<MastodonResponse<Empty>> destroyNotification({
  1. required String notificationId,
})

Dismiss a single notification from the server.

Parameters

  • notificationId: The ID of the Notification in the database.

Endpoint Url

  • POST /api/v1/notifications/:id/dismiss HTTP/1.1

Authentication Methods

  • OAuth 2.0

Required Scopes

  • write:notifications

Reference

Implementation

Future<MastodonResponse<Empty>> destroyNotification({
  required String notificationId,
});