Delete Notifications & Mentions

Please use this (https://dergh.com/mobile_api/delete_notifs) API for access (notifications & mentions) deleting endpoint


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
scope ​Array of notification ID (Integer) E.g. [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ...]

Success response

{
        "data": [],
        "code": 200,
        "message": "Notifications deleted successfully"
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
        "code": 400,
        "message": "Notification IDs are missing or invalid",
        "data": []
    }