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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.