v2

latestOpenAPI 3.0.12026-07-31690160432.4 KB
Notifications and Mentions

Delete multiple notifications

Deletes a list of notifications for the logged-in user in the given organization.

delete/v1/notifications/delete

Headers

X-Org-Idinteger required
Example:1

Organization ID (in header)

Request body

notificationIdsinteger[] required

List of notification IDs to be deleted.

Example request

{
  "notificationIds": [
    101,
    102,
    103
  ]
}

Response

Notifications deleted successfully

successboolean

Indicates if the operation was successful

messagestring

Message describing the result of the operation

codeinteger

HTTP status code of the response

timestampstring date-time

Timestamp of the response

Example response

{
  "success": true,
  "message": "Operation completed successfully",
  "code": 200,
  "timestamp": "2023-01-01T12:00:00Z"
}