Notifications

Update all notifications

Changed on

Update all of the authenticated user's notifications at once, for example to mark them all as viewed or archived.

post/notifications.update_all

Request

  • Base URL
    https://app.getoutline.com/api
  • URL
    https://app.getoutline.com/api/notifications.update_all
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: https://app.getoutline.com/oauth/authorize
      Token URL: https://app.getoutline.com/oauth/token scopes: read, write

Request body

viewedAtstring date-time nullable

The date and time to mark notifications viewed, or null to mark them unviewed.

archivedAtstring date-time nullable

The date and time to archive notifications, or null to unarchive them.

Response

OK

successboolean

Example response

{
  "success": true
}

Changes