Delete Notifications & Mentions

Please use this (https://YOUR-SITE.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

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

Error responses

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

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