Manage Notification Messages
    • PDF

    Manage Notification Messages

    • PDF

    Article summary

    1. Delete a Notification Message

    This DELETE method deletes the notification message for the specified <notification_id>. It clears all notifications for the authenticated user if no <notification_id> is provided.

    Note: To execute this API, user should have permission assigned (through policy) with action as nm.notification.delete.

    DELETE
    {{url}}/api/v1/notification-service/notifications/{{notification_id}}

    Request Example 

    curl -X DELETE '{{url}}/api/v1/notification-service/notifications/{{notification_id}}' -H 'Authorization: Bearer <token>'

    Response Example 

    Status: 204 No Content

    2. Delete all Notification Messages

    This DELETE method deletes all notification messages.

    Note: To execute this API, user should have permission assigned (through policy) with action as nm.notification.delete.

    DELETE
    {{url}}/api/v1/notification-service/notifications

    Request Example 

    curl -X DELETE '{{url}}/api/v1/notification-service/notifications' -H 'Authorization: Bearer <token>'

    Response Example 

    Status: 204 No Content

    Was this article helpful?